close
0

NameError: name 'x_scalar' is not defined

avatar
asked 23-12-2021

2 Answers


0
from sklearn.preprocessing import StandardScaler
X = StandardScaler().fit_transform(X)
avatar
answered 23-12-2021

0
import sklearn
X = sklearn.preprocessing.StandardScaler().fit_transform(X)
avatar
answered 23-12-2021