Crop Yield Prediction

Model Comparison & Selection

Comparing model performance and feature variants to identify the preferred approach.

Overview

Summary of models, feature variants, and configuration using 800,000 training rows and 200,000 test rows.

8

Completed experiments

0 failed or incomplete

4

Model types

dummy, linear, hist gradient boosting, random forest

2

Feature variants

A: 8 features / B: 9 features

42

Random seed

Recorded split seed

Model Performance Comparison

Holdout metrics. Lower MAE and RMSE are better; higher R² is better.

Recorded selection

Provisional · Unreviewed · Promotion not allowed

Selection-rule order; selected candidate is provisional. Failed or baseline runs follow eligible candidates.
NoModelVariantMAERMSER²Error Reduction (MAE) vs Baseline
1linearsuccessA0.39950.50070.913071.25%
2linearsuccessB0.39950.50070.913071.25%
3hist gradient boostingsuccessA0.39990.50110.912971.22%
4hist gradient boostingsuccessB0.39990.50120.912971.22%
5random forestsuccessA0.52820.66080.848561.99%
6random forestsuccessB0.53100.66410.847061.79%
7dummysuccessA1.38961.6978-0.0000—
8dummysuccessB1.38961.6978-0.0000—
Technical DetailsShow details

Configuration and rules used for reproducible and consistent model evaluation.

Model Selection Logic

Rules recorded by the pipeline.

  1. successful experiments only
  2. must beat the matching DummyRegressor on holdout MAE
  3. lowest holdout MAE
  4. if MAE differs by less than 0.001, prefer lower complexity: linear < hist_gradient_boosting < random_forest
  5. then prefer Variant A
  6. then lowest experiment_id lexically

Experiment Configuration

Train split
80% / 800,000 rows
Test split
20% / 200,000 rows
Split strategy
random holdout 80 20
Random seed
42
Cross-validation
3-fold / 200,000 sample
Target variable
Yield_tons_per_hectare
Selected feature count
8
Model & Evaluation Limitations
  • The dataset contains no year, date, or season column. Yearly trend analysis, temporal splitting, and future-period prediction claims are therefore unavailable. Grouped comparisons across Crop, Region, Soil_Type, Weather_Condition, Irrigation_Used, and Fertilizer_Used are used in their place.
  • This dataset shows strong signals of synthetic generation. All findings, predictions, and recommendations are illustrative and validate the analysis workflow only. They are not evidence about real agricultural systems and must not inform agricultural policy.
  • Cross-validation metrics are sample-based, not full-data.
  • Bitwise repeatability of full production training has not been established; only one production run was executed.