Abstract & Overview
Accurately predicting used car prices in emerging economies is a persistent challenge due to volatile market dynamics, limited data availability, and weak valuation transparency. This study proposes a hybrid ensemble machine learning framework designed specifically for the Egyptian automotive market, integrating advanced preprocessing, robust feature engineering, and stacked ensemble learning. A custom dataset was scraped from the Hatla2ee platform, cleaned through missing value handling, log and Box-Cox transformations, and multivariate outlier removal using Mahalanobis distance with a robust covariance estimator. Multiple regression models were evaluated, including Random Forest, Gradient Boosting, XGBoost, Deep Artificial Neural Networks (ANN), and Residual Neural Networks (ResNN). The proposed stacking ensemble—combining Gradient Boosting and ANN predictions via a Support Vector Regressor—achieved the best performance, with MAE = 0.1446 and R² = 0.9049. Beyond prediction, the system is integrated into a real-time web platform (React frontend, Laravel backend, Unix socket communication), enabling automated valuation and budget-based recommendations for buyers. Unlike prior studies that focus on mature markets, this research contributes a localized, deployable, and scalable solution for emerging economies, improving transparency and decision-making in price negotiations.