From 02ae6a2188a0c546778574e542f5f26035ab67a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katarzyna=20Kury=C5=82o?= Date: Sat, 28 Oct 2023 14:45:36 +0200 Subject: [PATCH] Change X to X_train --- model_regresji_liniowej.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_regresji_liniowej.ipynb b/model_regresji_liniowej.ipynb index e3d8e78..ad5a4b1 100644 --- a/model_regresji_liniowej.ipynb +++ b/model_regresji_liniowej.ipynb @@ -500,7 +500,7 @@ "y_train = train_dataset[[0]]\n", "\n", "scaler = StandardScaler()\n", - "trans_data = scaler.fit_transform(X)" + "trans_data = scaler.fit_transform(X_train)" ] }, {