Remove soon-to-be-deprecated method
Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2021-01-01. Instructions for updating: Please use instead: np.argmax(model.predict(x), axis=-1), if your model does multi-class classification (e.g. if it uses a softmax last-layer activation).main
parent
1e81324573
commit
af0c959d07
|
@ -741,7 +741,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"y_pred = model.predict_classes(X_new)\n",
|
||||
"y_pred = np.argmax(model.predict(X_new), axis=-1)\n",
|
||||
"y_pred"
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue