Skip to content

Instantly share code, notes, and snippets.

@ashishpatel26
Created July 18, 2018 15:55
Show Gist options
  • Save ashishpatel26/5721e1aa1ecebc17729adf504731e8c3 to your computer and use it in GitHub Desktop.
Save ashishpatel26/5721e1aa1ecebc17729adf504731e8c3 to your computer and use it in GitHub Desktop.
from sklearn.preprocessing import MinMaxScaler
#interval scaling, the return value is the data scaled to the [0, 1] interval
MinMaxScaler().fit_transform(iris.data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment