A machine learning project demonstrating the implementation, training, and evaluation of multiple regression models using a real-world dataset.
This repository showcases a complete regression workflow including data preprocessing, model training, performance evaluation, and comparison across different regression algorithms.
The project is intended for learning, experimentation, and as a reference for regression-based ML pipelines.
├── ML_Project_Done.ipynb # Jupyter notebook with full workflow
├── ML_Project_Done.py # Python script for model training and evaluation
├── auto-mpg.csv # Dataset
├── model_results_kml.csv # Model evaluation results
└── README.md
- Linear Regression
- Polynomial Regression
- Ridge Regression
- Lasso Regression
- Support Vector Regression (SVR)
- Decision Tree Regression
- Random Forest Regression
- MLP Regressor (Neural Network)
- Load and preprocess the dataset
- Perform feature scaling and train-test split
- Train multiple regression models
- Evaluate models using standard regression metrics
- Store and compare results
- Mean Squared Error (MSE)
- Root Mean Squared Error (RMSE)
- R² Score
Evaluation results are saved in model_results_kml.csv.
- Python 3.x with the following libraries:
- numpy
- pandas
- scikit-learn
- matplotlib
- seaborn
Install dependencies:
pip install numpy pandas scikit-learn matplotlib seaborn