Professional Documents
Culture Documents
Machine Learning Project On Multiple Linear Regression Model
Machine Learning Project On Multiple Linear Regression Model
MACHINE LEARNING
PROJECT
ON MULTIPLE LINEAR
REGRESSION MODEL.
Table of
Contents
Page
I Problem 1
II Solution 2-6
Q. Create a regression prediction on selling price , based on year, km_driven , and owner using the
following dataset.
1
I SOLUTION
• Then we split the dataset into x and y where y is the dependent variable and x is the independent set of features.
2
I SOLUTION
• Since 'owner' is of object type we need to convert it into a numeric value. Let's see what does the 'owner' column
contain.
3
I SOLUTION
• Since there are five types of values we can replace each one with simple numeric words in order to use word2number as
a tool for string to numeric conversion.
4
I SOLUTION
• Now we split the dataset into training set and test set.
5
I SOLUTION
• Now we split the dataset into training set and test set.
6
I Data Visusalization
7
I Data Visualization
8
I Data Visualization
9
Thank you!