“Min Max Scaling Pandas” Kod odpowiedzi

Min Max Scaller Sklearn

from sklearn.preprocessing import MinMaxScaler

scaler = MinMaxScaler()
scaler.fit_transform(X_train)
scaler.transform(X_test)
The Frenchy

Min Max Scaling Pandas

# mean and standard deviation normalisation
normalized_df=(df-df.mean())/df.std()

# min max scaling
normalized_df=(df-df.min())/(df.max()-df.min())
Sleepy Shark

Odpowiedzi podobne do “Min Max Scaling Pandas”

Pytania podobne do “Min Max Scaling Pandas”

Więcej pokrewnych odpowiedzi na “Min Max Scaling Pandas” w Python

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu