GithubHelp home page GithubHelp logo

sanithps98 / automobile-dataset-analysis Goto Github PK

View Code? Open in Web Editor NEW
44.0 1.0 34.0 824 KB

This project analyzes and visualizes the Used Car Prices from the Automobile dataset in order to predict the most probable car price

Jupyter Notebook 100.00%
datawrangling exploratory-data-analysis model-development model-evaluation data-analysis data-visualization datascience-machinelearning numpy pandas matplotlib

automobile-dataset-analysis's Introduction

Data Analysis and Visualisation to predict Car Prices based on Used Car Prices Data Set

In this project I'm trying to analyze and visualize the Used Car Prices from the dataset available at https://archive.ics.uci.edu/ml/machine-learning-databases/autos/imports-85.data in order to predict the most probable car price

It is divided into four parts:

  1. Data Wrangling

    • Pre processing data in python
    • Dealing missing values
    • Data formatting
    • Data normalization
    • Binning
  2. Exploratory Data Analysis

    • Descriptive statistics
    • Groupby
    • Analysis of variance
    • Correlation
    • Correlation stats
  3. Model Development

    • Simple Linear Regression
    • Multiple Linear Regression
  4. Model Review and Evaluation

    • Regression Plots
    • Distribution Plots

Softwares and Libraries Used:

   - Anaconda Distribution
- Jupyter Notebook

- Numpy
- Pandas
- Matplotlib
- Seaborn

Importing the Modules:

  import pandas as pd
  import numpy as np
  import math
  import matplotlib.pyplot as plt
  import seaborn as sns

Analysis

  1. Histograms representing Binned prices in Low, Medium, High

  2. Boxplots representing effect of wheel frive with prices.

  3. Scatter plot for Prices over Engine size

  4. Pivot table categorizing wheel drive and body style with prices.

  5. HeatMap with wheel drive in y axis and body style in x axis.

  6. Positive Linear Relationship between engine size and price

  7. Negetive Linear Relationship between highway-mpg and price

  8. Weak Correlation between peak-rpm and price

  9. Simple Linear Regression plot

  10. Multiple Linear Regression plot

Conclusion

The distribution plot of Linear Regression and Multiple Regression technique shows how the model predicts the prices of automobiles based on "horsepower", "curb-weight", "engine-size" and "highway-mpg"

Comparing these three models, we conclude that the MLR model is the best model to be able to predict price from our dataset. This result makes sense, since we have 27 variables in total, and we know that more than one of those variables are potential predictors of the final car price.

automobile-dataset-analysis's People

Contributors

sanithps98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.