post assignment 4 solution

This commit is contained in:
ligerfotis 2023-05-12 13:27:59 +02:00
parent a1cbf87f32
commit 15c5c0c9c4

View File

@ -98,6 +98,7 @@
"\n", "\n",
" return df, df_nomralized\n", " return df, df_nomralized\n",
"\n", "\n",
"\n",
"def train_test_split(X, y, test_size=0.2):\n", "def train_test_split(X, y, test_size=0.2):\n",
" # Split the dataset into train and test sets\n", " # Split the dataset into train and test sets\n",
" idx = np.arange(X.shape[0])\n", " idx = np.arange(X.shape[0])\n",