Change X to X_train
This commit is contained in:
parent
65d5118fa0
commit
02ae6a2188
@ -500,7 +500,7 @@
|
|||||||
"y_train = train_dataset[[0]]\n",
|
"y_train = train_dataset[[0]]\n",
|
||||||
"\n",
|
"\n",
|
||||||
"scaler = StandardScaler()\n",
|
"scaler = StandardScaler()\n",
|
||||||
"trans_data = scaler.fit_transform(X)"
|
"trans_data = scaler.fit_transform(X_train)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user