Closed CHr0m31 closed 2 years ago
I've retried the code `preds_mapper = { idx : class_name for idx, class_name in enumerate(loadedclf.classes)}
preds = loaded_clf.predict_proba(x_test_0.values)
loaded_y_pred = np.vectorize(preds_mapper.get)(np.argmax(preds, axis=1))` and changes the loadedclf.classes to a list of declared classes and am able to get the results.
Describe the bug Trying to load the saved model however, got the error when trying to predict the results.
What is the current behavior? `--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)