8. Data Cleaning
The cleaning of the data is done in three steps here
Imputation of missing values
Removal of outliers
Scaling of all the Quantitative variables
11. Examining Relationship
Correlation between the variables
● We try to find out the relation
between various attributes and with
respect to our output variable quality
● Correlation factor lies between -1 to
+1
● Chart along-with indicates the
measure of correlation between
various attributes.
12. Regression
Divide data into train and test data
Train data using regression model
Based on the output of regression analysis
we find out the parameters which has
statistical importance over the quality of
wine and are not by random chance
Model analysis various combinations and
finally concludes the one with minimum
RSE, better adjusted R-squared value and
F-statistics