使用机器学习预测肯尼亚的食品价格:使用XGBoost和梯度增强的混合模型方法
Benard O Ogol1, Evans Omondi2,3, John Olukuru1
1@ilabAfrica, Strathmore University, Nairobi, Kenya.
Frontiers in artificial intelligence
|November 10, 2025
概括
机器学习使用混合XGBoost和梯度提升模型准确预测肯尼亚的食品价格. 该系统帮助政策制定者规划和预防粮食不安全.
科学领域:
- 农业经济学 农业经济学
- 数据科学数据科学数据科学
- 机器学习 机器学习
背景情况:
- 粮食价格波动是肯尼亚的一个主要经济挑战.
- 预测粮食价格对于经济稳定和粮食安全至关重要.
研究的目的:
- 开发和评估一种混合机器学习模型,用于预测肯尼亚的食品价格.
- 确定影响食品价格波动的关键因素.
主要方法:
- 使用了混合方法,结合了XGBoost和梯度增强模型.
- 训练并比较多个机器学习算法,包括LightGBM,决策树,随机森林和线性回归.
- 采用超参数随机搜索和5倍交叉验证用于模型调整和验证.
主要成果:
- 混合型号实现了高精度,R平方为0.9940,优于独立型号的性能.
- 确定的主要预测因素包括单位数量,价格类型,商品和货币.
- 为了特征重要性分析,使用了夏普利添加式扩张 (SHAP).
结论:
- 开发的模型为预测肯尼亚的食品价格提供了可靠的工具.
- 这种数据驱动的系统可以支持决策者和利益相关者减轻粮食不安全.
- 该模型及其功能被保存到Web应用程序中部署.
相关概念视频
Predicting Products: Substitution vs. Elimination
13.8K
When a nucleophile and an alkyl halide react, nucleophilic substitution and β-elimination reactions compete to generate products.
The following factors can influence the mechanisms competing against each other:
The following factors can influence the mechanisms competing against each other:
13.8K
Regression Analysis
7.9K
Regression analysis is a statistical tool that describes a mathematical relationship between a dependent variable and one or more independent variables.
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
7.9K
Prediction Intervals
3.1K
The interval estimate of any variable is known as the prediction interval. It helps decide if a point estimate is dependable.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
3.1K
Multiple Regression
3.7K
Multiple regression assesses a linear relationship between one response or dependent variable and two or more independent variables. It has many practical applications.
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
3.7K


