Open hjkkkl opened 1 month ago
from skleran.preprocessing import norlalize n_X = normalize(X, axis = 0) #정규화 0번 축 기준으로 실시
nXtrain, nXtest, y_train, y_test = train_test_split(n_X, y, test_size=0.2) lin_model.fit(nXtrain, y_train)
from skleran.preprocessing import norlalize n_X = normalize(X, axis = 0) #정규화 0번 축 기준으로 실시
nXtrain, nXtest, y_train, y_test = train_test_split(n_X, y, test_size=0.2) lin_model.fit(nXtrain, y_train)