Skip to content

Instantly share code, notes, and snippets.

@rian-dolphin
Created November 3, 2021 21:40
Show Gist options
  • Save rian-dolphin/eb71a62d778fba03205903fa57f8fd50 to your computer and use it in GitHub Desktop.
Save rian-dolphin/eb71a62d778fba03205903fa57f8fd50 to your computer and use it in GitHub Desktop.
from sklearn.preprocessing import MinMaxScaler
scaler = MinMaxScaler()
scaler.fit(train)
train_scaled = scaler.transform(train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment