-
-
Save amankharwal/1bccacce06bab88520be9865b57d35c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# scaling and normalizing the dataset | |
scaler = StandardScaler() | |
x_scaled = scaler.fit_transform(data) | |
from sklearn.preprocessing import normalize | |
x_normal = normalize(x_scaled) | |
x_normal = pd.DataFrame(x_normal) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment