成功解决sklearn.exceptions.NotFittedError: This StandardScaler instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.
目录
解决问题
sklearn.exceptions.NotFittedError: This StandardScaler instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.
解决思路
sklearn异常未装配错误:此StandardScaler实例尚未装配。在使用这个估计器之前,使用适当的参数调用“fit”。
 解决方法
 
ss_X = StandardScaler()  
ss_y = StandardScaler()
X_train = ss_X.fit_transform(X_train)            
X_test  = ss_X.transform(X_test)
 
 
                     
            
        













 
                    

 
                 
                    