Chapter 2 - Data Processing: It is crucial part of
machine learning.
1.
Dataset
: Get the dataset that we will use for pre-processing. Suppose you have the
dataset like below.
It is in data.csv
In machine learning model we need to check
that the Dependent Variable and Independent variable.
In Below example there first three colum are
independent variable and Purchased colum is dependent variable
Name
|
Age
|
Salary
|
Purchased
|
Bon
|
44
|
72000
|
No
|
Ram
|
27
|
48000
|
Yes
|
Sohan
|
30
|
54000
|
No
|
eric
|
38
|
61000
|
No
|
Mat
|
40
|
Yes
|
|
Denie
|
35
|
58000
|
Yes
|
Andie
|
52000
|
No
|
|
Rus
|
48
|
79000
|
Yes
|
Mak
|
50
|
83000
|
No
|
Mark
|
37
|
67000
|
Yes
|