May 2020
Intermediate to advanced
404 pages
10h 52m
English
As you might have observed in the sample of the dataset in the preceding step, the values in the training columns are not in a common or comparable range. We will be performing scaling on the columns to bring them to a uniform range distribution, as shown:
from sklearn.preprocessing import StandardScalerX = StandardScaler().fit_transform(X)
The target is in the range of 0 to 1 and so does not require scaling.
Read now
Unlock full access