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
Ian Beauregard 2020-09-14 07:52:07 -04:00
parent 1e81324573
commit af0c959d07
1 changed files with 1 additions and 1 deletions

View File

@ -741,7 +741,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"y_pred = model.predict_classes(X_new)\n", "y_pred = np.argmax(model.predict(X_new), axis=-1)\n",
"y_pred" "y_pred"
] ]
}, },