Machine Learning, AI, Exploratory Data Analysis, Python, Python Programming.
scaling. We can scale data into new values that are easier to compare. We are using StandardScaler to scale our features. Now it’s easier to compare -1.78 to -1.49 than 19 to 19000. from sklearn. Preprocessing import StandardScaler scaler = StandardScaler() d_scaled = scaler.fit_transform(X)