Machine Learning Rigor

Model Benchmarking & Evaluation Hub

Empirical evaluation of 3 regression algorithms (Linear Regression, Decision Tree, Random Forest) across 5-fold cross-validation, MAE, RMSE, and residual diagnostics

Champion Model: Random Forest
Multi-Model Regression Comparison Matrix
Evaluated on identical held-out test data (N=144)
Algorithm Name Algorithm Family Test R² Score MAE (₹) RMSE (₹) 5-Fold CV Mean R² Status
Linear Regression Linear Model 0.7350 ₹ 101,074 ₹ 142,611 0.6318 (±0.097) Benchmarked
Decision Tree Single Decision Tree 0.4815 ₹ 136,460 ₹ 199,462 0.4360 (±0.121) Benchmarked
Random Forest Ensemble Bagging (100 Trees) 0.7719 ₹ 83,227 ₹ 132,291 0.6060 (±0.115) Champion
Why Random Forest is the Winner

Linear Regression only captures straight-line relationships, whereas used-car prices depreciate non-linearly across vehicle age, mileage, and brand tiers. Random Forest trains 100 independent Decision Trees on different data subsets and averages their predictions—achieving the highest R² (0.7719) and the lowest prediction errors (MAE: ₹ 83,228, RMSE: ₹ 1,32,291).

Diagnostic Plots & Error Analysis

Comparative Performance Metrics (R², MAE, RMSE)
Horizontal comparative bars showcasing accuracy vs. error across all candidates
Overview
Model Comparison
Actual vs. Predicted Valuations
Proximity of test listings to 45° identity line
Goodness of Fit
Actual vs Predicted
Points closely tracking the dashed red line indicate accurate price estimation with minimal variance.
Residual Error Distribution
Residuals (Actual - Predicted) vs. Fitted Values
Homoscedasticity
Residuals
Residual errors are well-centered around 0, confirming absence of systematic skew across standard budget vehicles.
Empirical Price Depreciation Curve
Market value degradation trajectories across vehicle age and fuel categories
Market Dynamics
Depreciation Curve