Giter VIP home page Giter VIP logo

simple_linear_regression_2's Introduction

Simple_Linear_regression_2

Building a prediction model for Salary hike

Building a simple linear regression model by performing EDA and do necessary transformations and select the best model using R or Python.

Step 1 Importing Data

Step 2 Performing EDA On Data

a.) Checking Datatype

b.) Checking for Null Values

c.) Checking for Duplicate Values

Step 3 Plotting the data to check for outliers

Step 4 Checking the Correlation between variables

Step 5 Checking for Homoscedasticity or Hetroscedasticity

Step 6 Feature Engineering

a.) Trying different transformation of data to estimate normal distribution and to remove any skewness

Step 7 Fitting a Linear Regression Model

a.) Using Ordinary least squares (OLS) regression

b.) Square Root transformation on data

c.) Cube Root transformation on Data

d.) Log transformation on Data

Step 8 Residual Analysis

a.) Test for Normality of Residuals (Q-Q Plot)

b.) Residual Plot to check Homoscedasticity or Hetroscedasticity

Step 9 Model Validation

a.) Comparing different models with respect to their Root Mean Squared Errors

Step 10 Predicting values from Model with Log Transformation on the Data

simple_linear_regression_2's People

Contributors

moindalvs avatar

Stargazers

 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.