Skip to content

Instantly share code, notes, and snippets.

@Vsanku01
Created May 30, 2020 17:00
Show Gist options
  • Save Vsanku01/26e209634e6f69f09170dff719df11a5 to your computer and use it in GitHub Desktop.
Save Vsanku01/26e209634e6f69f09170dff719df11a5 to your computer and use it in GitHub Desktop.
Scaling the values
scaler = MinMaxScaler()
scaler.fit(train)
MinMaxScaler(copy=True, feature_range=(0, 1))
scaled_train = scaler.transform(train)
scaled_test = scaler.transform(test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment