Machine Learning by Using Regression Model - Deepstash
Machine Learning With Google

Learn more about artificialintelligence with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Machine Learning With Google

Discover 95 similar ideas in

It takes just

14 mins to read

Machine Learning Explained

Machine Learning Explained

Machine Learning is the process of letting your machine use the data to learn the relationship between predictor variables and the target variable. It is one of the first steps toward becoming a data scientist.

There are two kinds of Machine Learning: supervised, and unsupervised learning. In supervised learning, there are two types: Regression and Classification.

25

255 reads

Types Of Data

  • Nominal: used for labelling variables(m- male and f- female)
  • Ordinal: used for measuring non-numeric with an order of the values(1-unhappy, 2-ok, 3- happy)
  • Data Cleaning: In this data set, there are 2051 rows with 80 columns. So, there were a lot of missing and null values to be clean.
  • Exploratory Data Analysis: The highest correlation between the sale price and features was the overall quality of the house.

22

219 reads

Feature Engineering

In order to predict the outcome variable (y variable) you need to turn all the object type columns into numeric in order to predict the Sale Price. So first, I converted all the ordinal columns into numeric by assigning them by numbers, and for all the other features I created dummy variables.

17

167 reads

Modelling

After creating all the features to predict the sale prices, using sklearn, we train-test-split the training data. In Regression, there are a lot of models you can choose from to get the best performing model. In this project, I ran Linear Regression, Ridge, and Lasso models.

17

113 reads

CURATED BY

alisathom

Life is as beautiful as you make it Blog coming soon

CURATOR'S NOTE

A machine learning example

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates