deleted redundant code

This commit is contained in:
patrycjalazna 2021-03-21 16:43:10 +01:00
parent fc57a56e02
commit 5985bb683b

View File

@ -403,14 +403,13 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 15,
"metadata": { "metadata": {
"scrolled": false "scrolled": false
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"import numpy as np\n", "import numpy as np\n",
"from sklearn.model_selection import train_test_split\n",
"\n", "\n",
"avocado_train, avocado_validate, avocado_test = np.split(avocado.sample(frac=1), [int(.6*len(avocado)), int(.8*len(avocado))])" "avocado_train, avocado_validate, avocado_test = np.split(avocado.sample(frac=1), [int(.6*len(avocado)), int(.8*len(avocado))])"
] ]