A machine learning project that predicts car prices in Tunisia based on various features and market data.
├── Data/ # Contains datasets and raw data
├── Src/
│ ├── Scraping/ # Web scraping scripts
│ ├── Modeling/ # ML models and training code
│ └── DataManip/ # Data preprocessing and manipulation
├── requirements.txt
└── LICENSE
- Web scraping of car listings from Tunisian car market websites
- Data preprocessing
- Machine learning model for price prediction
- Python 3.x
- beautifulsoup4==4.12.3
- Requests==2.32.3
- seaborn==0.13.2
- matplotlib==3.9.2
- scikit-learn==1.5.1
- Clone the repository:
git clone https://github.com/Malek-trez/CarPricePredictorInTunisia.git
cd CarPricePredictorInTunisia- Install the required packages:
pip install -r requirements.txt-
Data Collection:
- Run the scraping scripts in the
Src/Scrapingdirectory to collect car data - The collected data will be stored in the
Datadirectory
- Run the scraping scripts in the
-
Data Processing:
- Use the scripts in
Src/DataManipto preprocess and prepare the data - Generate feature engineering and data cleaning
- Use the scripts in
-
Model Training:
- Navigate to
Src/Modelingto train the price prediction model - The trained model will be saved for future predictions
- Navigate to
-
Making Predictions:
- Use the trained model to predict car prices based on input features
This project is licensed under the MIT License. See the LICENSE file for details.