摩洛哥Turba肥料机器学习技术栈技术报告
研究论文 · 2026/10/08
本技术报告介绍了Turba肥料机器学习栈,这是一个用于摩洛哥可复现的站点特定肥料推荐的三层开源实现。turba-client提供对公开站点配置文件、作物特定目标产量空间以及N、P2O5和K2O推荐工作流的程序化访问;turba-data分发分析就绪的快照;turba-models打包作物特定的推荐输出机器学习代理模型。该架构连接了上游检索、版本化分析快照、可复现的跨模型基准测试和可加载的离线代理模型,同时保留了推荐系统输出、观测农业数据和模型生成预测之间的区别。第一个数据集由44,096个独特的ESA WorldCereal位置构建。在中等目标产量设置下,跨支持的谷物工作流进行场景扩展生成了132,017个作物-位置推荐请求。生成的22变量数据集覆盖10个地区、66个省和1,149个市镇。在固定的确定性80/20协议下评估了九种回归家族,当前版本打包了五个表现最佳的作物特定模型。机器学习任务是推荐函数仿真,而非观测作物响应的预测。该栈为空间和时间验证、不确定性估计、田间试验比较以及未来与额外数据的集成提供了可复现的基础。
该报告提供了一个可复现的开源机器学习栈,解决了站点特定肥料推荐系统在科学复用上的限制,通过程序化访问、版本化数据和可加载模型促进了透明度和基准测试,对农业机器学习研究和应用具有实用价值。
Site-specific fertilizer recommendation systems adapt nutrient advice to location, soil properties, crop type, and production targets, but scientific reuse is constrained when recommendation functions remain accessible mainly through interactive interfaces, outputs are not versioned, and trained approximations cannot be independently loaded or benchmarked. This technical report presents the Turba fertilizer machine learning stack, a three-layer open-source implementation for reproducible site-specific fertilizer recommendation in Morocco. turba-client provides programmatic access to publicly accessible site profiles, crop-specific target-yield spaces, and N, P_2O_5, and K_2O recommendation workflows; turba-data distributes analysis-ready snapshots; and turba-models packages crop-specific machine learning surrogates of recommendation outputs. The architecture links upstream retrieval, versioned analytical snapshots, reproducible cross-model benchmarking, and loadable offline surrogates while preserving the distinction between recommendation-system outputs, observed agricultural data, and model-generated predictions. The first dataset was constructed from 44,096 unique ESA WorldCereal locations. Scenario expansion across supported cereal workflows generated 132,017 crop-location recommendation requests under a medium target-yield setting. The resulting 22-variable dataset spans 10 regions, 66 provinces, and 1,149 communes. Nine regression families were evaluated under a fixed deterministic 80/20 protocol, and the current release packages five best-performing crop-specific models. The machine learning task is recommendation-function emulation rather than prediction of observed crop response. The stack provides a reproducible basis for spatial and temporal validation, uncertainty estimation, field-trial comparison, and future integration with additional data.