Git Product home page Git Product logo

burhanahmed1 / automobiles-machinelearning-analysis Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 468 KB

Data Analysis, training Machine Learning models, and Model Evaluation and Refinement for AutoMobiles dataset.

License: MIT License

Jupyter Notebook 100.00%
data-acquisition data-analysis-project data-science data-wrangling exploratory-data-analysis insights machine-learning machine-learning-models matplotlib numpy pandas python scikit-learn scipy-stats seaborn model-evaluation-and-refinement

automobiles-machinelearning-analysis's Introduction

Automobiles Machine Learning Analysis

Introduction

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.

Table of Contents

  1. Data Import and Cleaning
  2. Exploratory Data Analysis (EDA)
  3. Model Evaluation
  4. Over-fitting, Under-fitting, and Model Selection
  5. Ridge Regression
  6. Grid Search

Technologies Used

  • Programming Language: Python
  • Libraries: Pandas, NumPy, Scikit-Learn
  • Tools: Jupyter Notebook

R-squared (R²) Values:

  • Linear Regression: 0.3636
  • Multiple Linear Regression: 0.6619
  • Polynomial Regression (degree 5): 0.5568
  • Ridge Regression (best alpha=10000): 0.8412

Getting Started

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

Usage

Open the Jupyter notebook:

jupyter notebook AutoMobile-ML.ipynb

Dataset

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

R^2 scores of the Linear Regression model created using different degrees of polynomial features, ranging from 1 to 4. R2_polynomial-features

R^2 values of Ridge Regression model for training and testing sets with respect to the values of alpha. R2_for-alphas

Contributing

Contributions are welcome! Please fork this repository and submit pull requests.

License

This project is licensed under the MIT License.

automobiles-machinelearning-analysis's People

Contributors

burhanahmed1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.