Corn sales analysis using linear regression and svm methods to improve production planning
Main Article Content
Abstract
This research aimed to analyze and predict corn sales at UD Muara Kasih to improve production planning accuracy. The study used historical corn sales data collected over a specific period, covering 42 data entries from January 2021 to December 2024. The dataset included variables such as sales date, quantity sold, selling price per ton, total sales value, weather conditions, market demand (in tons), and the number of laborers. Prior to model training, the data underwent comprehensive preprocessing involving data cleaning, feature extraction, and normalization to ensure its quality and readiness for analysis. Two predictive models were applied: Linear Regression and Support Vector Machine (SVM) with a Radial Basis Function (RBF) kernel. Simulation data for 2024 and 2025 were generated based on the monthly averages derived from the historical dataset. The results showed that the Linear Regression model produced more stable predictions with a lower Root Mean Squared Error (RMSE) of 255.84 compared to the SVM model’s RMSE of 256.42. While the SVM model showed greater responsiveness to seasonal variations, the Linear Regression model was identified as the most suitable for the given dataset. The predictive models developed in this study are expected to support UD Muara Kasih in making more accurate and informed production decisions in the future.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
N. Chergui and M. T. Kechadi, “Data analytics for crop management: a big data view,” J. Big Data, vol. 9, no. 1, p. 123, Dec. 2022, doi: 10.1186/s40537-022-00668-2.
K. R. Mukhamedova, N. P. Cherepkova, A. V Korotkov, Z. B. Dagasheva, and M. Tvaronavičienė, “Digitalisation of Agricultural Production for Precision Farming: A Case Study,” Sustainability, vol. 14, no. 22, p. 14802, Nov. 2022, doi: 10.3390/su142214802.
E. B. Santoso, E. W. Budiman, and P. Puspitorini, “Analisis Pendapatan Usahatani Jagung Kelompok Tani Rahayu II Mojoroto Kota Kediri,” Grafting J. Ilm. Ilmu Pertan., vol. 12, no. 2, pp. 52–60, Sep. 2022, doi: 10.35457/grafting.v12i2.2568.
A. Bayhaqi, “Implementasi Metode Single Exponential Smoothing dalam Sistem Peramalan Hasil Panen Jagung,” Universitas Nahdlatul Ulama Sunan Diri, Galang Tanjung, 2023.
F. Melia, F. M. Aldian, M. S. F. Pahlevi, R. N. I. Risqullah, and S. Oktaffiani, “Peran Pemerintah dalam Meningkatkan Volume Ekspor Jagung,” J. Econ., vol. 2, no. 1, pp. 1305–1320, Jan. 2023, doi: 10.55681/economina.v2i1.287.
A. P. W. Suci, “Prediksi Nilai Ekspor Komoditas Perkebunan di Pasar Internasional dengan Algoritma Linear Regression,” Universitas Nusa Putra, Sukabumi, 2024.
G. Maulana and R. D. Dana, “Prediksi Hasil Produksi Jagung di Jawa Barat dengan Metode Algoritma Regresi Linear Menggunakan Google Colab,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 1, pp. 827–837, Mar. 2024, doi: 10.36040/jati.v8i1.8816.
S. Saadah, F. Z. Z, and H. H. Z, “Support Vector Regression (SVR) Dalam Memprediksi Harga Minyak Kelapa Sawit di Indonesia dan Nilai Tukar Mata Uang EUR/USD,” J. Comput. Sci. Informatics Eng., vol. 5, no. 1, pp. 85–92, Jun. 2021, doi: 10.29303/jcosine.v5i1.403.
N. Rozaini and S. J. Silaban, “Pengaruh Biaya Produksi Dan Harga Jual Terhadap Pendapatan Petani Cabai Merah Di Kecamatan Doloksanggul Kabupaten Humbang Hasundutan,” J. Publ. Sist. Inf. dan Manaj. Bisnis, vol. 2, no. 2, pp. 128–141, Apr. 2023, doi: 10.55606/jupsim.v2i2.1314.
Y. A. Singgalen, “Penerapan Metode CRISP-DM dalam Klasifikasi Data Ulasan Pengunjung Destinasi Danau Toba Menggunakan Algoritma Naïve Bayes Classifier (NBC) dan Decision Tree (DT),” J. Media Inform. Budidarma, vol. 7, no. 3, p. 1551, Jul. 2023, doi: 10.30865/mib.v7i3.6461.
A. Angdresey, L. Sitanayah, and I. L. H. Tangka, “Sentiment Analysis for Political Debates on YouTube Comments using BERT Labeling, Random Oversampling, and Multinomial Naïve Bayes,” J. Comput. Theor. Appl., vol. 2, no. 3, pp. 342–354, Jan. 2025, doi: 10.62411/jcta.11668.
S. Alden and B. N. Sari, “Implementasi Algoritma CNN Untuk Pemilahan Jenis Sampah Berbasis Android Dengan Metode CRISP-DM,” J. Inform., vol. 10, no. 1, pp. 62–71, Mar. 2023, doi: 10.31294/inf.v10i1.14985.
I. Pii, N. Suarna, and N. Rahaningsih, “Penerapan Data Mining pada Penjualan Produk Pakaian Dameyra Fashion Menggunakan Metode K-Means Clustering,” JATI (Jurnal Mhs. Tek. Inform., vol. 7, no. 1, pp. 423–430, Mar. 2023, doi: 10.36040/jati.v7i1.6336.
Y. Anggraini, D. Pasha, Damayanti, and A. Setiawan, “Sistem Informasi Penjualan Sepeda Berbasis Web Menggunakan Framework CodeIgniter (Studi Kasus: Orbit Station),” J. Teknol. dan Sist. Inf., vol. 1, no. 2, pp. 64–70, 2020.
A. Nazir and others, “Estimation and Forecasting of Rice Yield Using Phenology-Based Algorithm and Linear Regression Model on Sentinel-II Satellite Data,” Agriculture, vol. 11, no. 10, p. 1026, Oct. 2021, doi: 10.3390/agriculture11101026.
C. Catal, K. Ece, B. Arslan, and A. Akbulut, “Benchmarking of Regression Algorithms and Time Series Analysis Techniques for Sales Forecasting,” Balk. J. Electr. Comput. Eng., vol. 7, no. 1, pp. 20–26, Jan. 2019, doi: 10.17694/bajece.494920.
T. S. Yange, C. O. Egbunu, O. Onyekwere, and K. A. Foga, “Prediction of Agro Products Sales Using Regression Algorithm,” Am. J. Data Min. Knowl. Discov., vol. 5, no. 1, p. 11, 2020, doi: 10.11648/j.ajdmkd.20200501.12.
I. C. R. Drajana and B. Betrisandi, “Prediksi Harga Jagung Menggunakan Support Vector Machine dengan Fitur Seleksi Forward Selection di Kabupaten Pohuwato,” J. Nas. Komputasi dan Teknol. Inf., vol. 7, no. 5, pp. 1248–1255, Sep. 2024, doi: 10.32672/jnkti.v7i5.8059.
I. S. Al-Mejibli, J. K. Alwan, and D. H. Abd, “The effect of gamma value on support vector machine performance with different kernels,” Int. J. Electr. Comput. Eng., vol. 10, no. 5, pp. 5497–5506, Oct. 2020, doi: 10.11591/ijece.v10i5.pp5497-5506.
H.-C. Zhang, Q. Wu, F.-Y. Li, and H. Li, “Multitask Learning Based on Least Squares Support Vector Regression for Stock Forecast,” Axioms, vol. 11, no. 6, p. 292, Jun. 2022, doi: 10.3390/axioms11060292.
B. Setiadi, E. Purwanto, and H. Permatasari, “Optimisasi Klasifikasi Sentimen Pada Review Hotel Bahasa Inggris Dengan Model Roberta Twitter,” SINTECH (Science Inf. Technol. J., vol. 7, no. 2, pp. 70–79, Aug. 2024, doi: 10.31598/sintechjournal.v7i2.1547.
R. Faurina and E. Sitanggang, “Implementasi Metode Content-Based Filtering dan Collaborative Filtering pada Sistem Rekomendasi Wisata di Bali,” Techno.Com, vol. 22, no. 4, pp. 870–881, Nov. 2023, doi: 10.33633/tc.v22i4.8556.
Tatachar and V. Abhishek, “Comparative Assessment of Regression Models Based On Model Evaluation Metrics,” Int. Res. J. Eng. Technol., vol. 8, no. 9, 2021.