This repository contains the analysis and machine learning model implementation for the automobile dataset. The goal is to predict various automobile attributes using different machine learning techniques.
- Data Import and Cleaning
- Exploratory Data Analysis (EDA)
- Model Evaluation
- Over-fitting, Under-fitting, and Model Selection
- Ridge Regression
- Grid Search
- Programming Language: Python
- Libraries: Pandas, NumPy, Scikit-Learn
- Tools: Jupyter Notebook
- Linear Regression: 0.3636
- Multiple Linear Regression: 0.6619
- Polynomial Regression (degree 5): 0.5568
- Ridge Regression (best alpha=10000): 0.8412
To get started with this project, clone the repository and install the necessary dependencies:
git clone https://github.com/burhanahmed1/Automobiles-MachineLearning-Analysis.git
cd Automobiles-MachineLearning-Analysis
pip install -r requirements.txt
Open the Jupyter notebook:
jupyter notebook AutoMobile-ML.ipynb
The dataset used in this analysis is AutoMobile-Dataset-3.csv, which contains various features related to automobiles such as make, body style, engine type, horsepower, and price.
R^2 scores of the Linear Regression model created using different degrees of polynomial features, ranging from 1 to 4.
R^2 values of Ridge Regression model for training and testing sets with respect to the values of alpha.
Contributions are welcome! Please fork this repository and submit pull requests.
This project is licensed under the MIT License.