Logo Lanfrica

KhalilAmamri/Car_Valuation_Tunisia

Domain:

socioeconomic

Record type:

modelsoftware
Creator:
Kha
Host:
πŸš— Estimate used car prices in Tunisia using a Multiple Linear Regression model trained on 60,000+ synthetic listings (23 brands, 89% accuracy). Interactive Streamlit app with real-time predictions. # πŸš— Tunisia Car Price Predictor Estimate used car prices in Tunisia using Machine Learning. Interactive Streamlit app with real-time predictions and market insights. **Live App:** carvaluationtunisia.streaml… --- ## ✨ Key Features - βœ… **High Accuracy**: RΒ² = 89.91% | MAE = 3,876 TND - 🎯 **3-Page Interactive App**: Predict Price β€’ Market Insights β€’ About Model - πŸ’° **Real-time Predictions**: Instant price estimates - πŸ“Š **Market Dashboard**: 4 interactive charts showing pricing trends - πŸ“¦ **60,000+ Dataset**: Synthetic but realistic car listings - πŸ€– **Linear Regression Model**: scikit-learn with feature transparency --- ## 🎬 Demo Video **Watch the app in action:** --- ## πŸš€ Quick Start ### Online (Easiest) Visit: carvaluationtunisia.streaml… ### Local Setup ```pwsh # Clone & setup git clone github.com cd Car_Valuation_Tunisia # Create environment python -m venv .venv ./.venv/Scripts/Activate.ps1 # Install & run pip install -r requirements.txt streamlit run app/Predict_Price.py ``` Then open localhost --- ## πŸ“ Project Structure ``` Car_Valuation_Tunisia/ β”œβ”€β”€ app/ β”‚ β”œβ”€β”€ Predict_Price.py # Main page - Price prediction β”‚ └── pages/ β”‚ β”œβ”€β”€ 1_Market_Insights.py # Dashboard with 4 charts β”‚ └── 2_About_Model.py # Model documentation β”œβ”€β”€ data/raw/ β”‚ └── tunisia_cars_dataset.csv # 60,000+ listings β”œβ”€β”€ models/ β”‚ └── linear_regression_tunisia_cars.pkl β”œβ”€β”€ notebooks/ β”‚ └── Tunisia_Cars_Price_Prediction.ipynb β”œβ”€β”€ requirements.txt └── README.md ``` --- ## πŸ“– How to Use ### 1. Predict Price - Enter car details (brand, year, mileage, etc.) - Click "Predict Price" - Get instant estimate with confidence range ### 2. Market Insights - **Chart 1**: Price distribution by category - **Chart 2**: Depreciation trends (year vs price) - **Chart 3**: Market price distribution - **Chart 4**: Top features affecting price ### 3. About Model …