Answers for "sklearn cheat sheet"

0

sklearn cheat sheet

>>> from sklearn.preprocessing import StandardScaler
>>> scaler = StandardScaler().fit(X_train)
>>> standardized_X = scaler.transform(X_train)
>>> standardized_X_test = scaler.transform(X_test)
Posted by: Guest on November-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language