Commit 9152eb26 authored by giwi97's avatar giwi97

concat data from each class

parent f418ffa2
......@@ -284,6 +284,25 @@
" return arr_feature"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"<__array_function__ internals>:5: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray\n"
]
}
],
"source": [
"#Save DataTrain and the label\n",
"X_Shapedes =np.concatenate((apple,banana,lemon,lime,orange,peach,pear))\n",
"y_Shapedes =np.concatenate((label_apple,label_banana,label_lemon,label_lime,label_orange,label_peach,label_pear))"
]
},
{
"cell_type": "code",
"execution_count": null,
......
......@@ -284,6 +284,25 @@
" return arr_feature"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"<__array_function__ internals>:5: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray\n"
]
}
],
"source": [
"#Save DataTrain and the label\n",
"X_Shapedes =np.concatenate((apple,banana,lemon,lime,orange,peach,pear))\n",
"y_Shapedes =np.concatenate((label_apple,label_banana,label_lemon,label_lime,label_orange,label_peach,label_pear))"
]
},
{
"cell_type": "code",
"execution_count": null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment