From 5985bb683b8a938b5a12a42d372c13981d888e08 Mon Sep 17 00:00:00 2001 From: patrycjalazna Date: Sun, 21 Mar 2021 16:43:10 +0100 Subject: [PATCH] deleted redundant code --- laby-inz-um.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/laby-inz-um.ipynb b/laby-inz-um.ipynb index fd01143..7a9abd4 100644 --- a/laby-inz-um.ipynb +++ b/laby-inz-um.ipynb @@ -403,14 +403,13 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 15, "metadata": { "scrolled": false }, "outputs": [], "source": [ "import numpy as np\n", - "from sklearn.model_selection import train_test_split\n", "\n", "avocado_train, avocado_validate, avocado_test = np.split(avocado.sample(frac=1), [int(.6*len(avocado)), int(.8*len(avocado))])" ]