Temporally Validated Rice Productivity Prediction in West Sumatra: Linear Regression Versus Random Forest

Rice productivity is an important indicator of food security in West Sumatra Province, shaped by climate and harvested area, so an accurate prediction model is needed. This study compares Linear Regression and Random Forest for predicting rice productivity using Area Sampling Frame (KSA) data, rainfall, and air temperature from 2020–2024, totaling 156 valid observations. Following CRISP-DM, inferential analysis used Multiple Linear Regression with assumption tests, while predictive evaluation used a temporal holdout split and pipeline preprocessing to prevent leakage. Features included lag-1 climate and productivity, region, and month; performance used R², RMSE, MAE, and MAPE against mean and seasonal-naive baselines. Inferential results show only air temperature significantly affects rice productivity (p=0.001), yet the model explains just 9.7% of variance (R²=0.097) and violates classical assumptions. An exploratory diagnostic identified an abrupt regime shift in 2024, which was excluded so models were trained and validated on the stable 2020–2023 period. Both models forecast future months well, with Linear Regression the best and most stable (holdout R²=0.70; rolling-origin R²=0.71±0.11) and Random Forest close behind (holdout R²=0.67). Lag-1 productivity dominated feature importance, indicating largely autoregressive accuracy, while climate and area add modest signal. Future work should add agronomic, remote-sensing variables and autocorrelation-aware models

Authors

Institutions

Publication Details

Journal
MALCOM Indonesian Journal of Machine Learning and Computer Science
Published
2026-10-30
DOI
https://doi.org/10.57152/malcom.v6i4.2914
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Temporally Validated Rice Productivity Prediction in West Sumatra: Linear Regression Versus Random Forest

Delsi Kariman, Ainil Mardiyah, Dhea Nesvira Rahmadhani
2 links
MALCOM Indonesian Journal of Machine Learning and Computer Science
Smart Agriculture and AI
article

Temporally Validated Rice Productivity Prediction in West Sumatra: Linear Regression Versus Random Forest

Delsi Kariman, Ainil Mardiyah, Dhea Nesvira Rahmadhani
article en

Abstract

Rice productivity is an important indicator of food security in West Sumatra Province, shaped by climate and harvested area, so an accurate prediction model is needed. This study compares Linear Regression and Random Forest for predicting rice productivity using Area Sampling Frame (KSA) data, rainfall, and air temperature from 2020–2024, totaling 156 valid observations. Following CRISP-DM, inferential analysis used Multiple Linear Regression with assumption tests, while predictive evaluation used a temporal holdout split and pipeline preprocessing to prevent leakage. Features included lag-1 climate and productivity, region, and month; performance used R², RMSE, MAE, and MAPE against mean and seasonal-naive baselines. Inferential results show only air temperature significantly affects rice productivity (p=0.001), yet the model explains just 9.7% of variance (R²=0.097) and violates classical assumptions. An exploratory diagnostic identified an abrupt regime shift in 2024, which was excluded so models were trained and validated on the stable 2020–2023 period. Both models forecast future months well, with Linear Regression the best and most stable (holdout R²=0.70; rolling-origin R²=0.71±0.11) and Random Forest close behind (holdout R²=0.67). Lag-1 productivity dominated feature importance, indicating largely autoregressive accuracy, while climate and area add modest signal. Future work should add agronomic, remote-sensing variables and autocorrelation-aware models

MALCOM Indonesian Journal of Machine Learning and Computer Science
Universitas PGRI Sumatera Barat (ID)
Zero hunger
Openalex Percentile: Top 15%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon