fit or fit_transform if I used StandardScaler on the entire dataset?

后端 未结 0 830
孤城傲影
孤城傲影 2021-01-13 22:53

I have the a dataframe called features and I scale the data as follows:


col_names=features.columns

scaler=StandardScaler()
scaler.fit(features)
standardized         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题