October 2018
Intermediate to advanced
134 pages
2h 39m
English
Before we go any further, we need to normalize the information so that the algorithm can read the data consistently:
from sklearn.preprocessing import StandardScalerscaler = StandardScaler().fit(X)
If we print this scaler, we will get the following output:

Here, we've created a matrix that will do the scaling for us. There are a few different parameters that can be used to scale each of our different columns.
First, however, we have to transform ...
Read now
Unlock full access