Closed hirafs closed 3 years ago
hello there, I have the same problem. Did you solved it by changing the sklearn version? And which version, plz.
This solved my problem. I loaded the npy file directly
warnings.filterwarnings("ignore", category=DeprecationWarning) m = np.load(label_encoder_file_name) labels_list=[] for label in reversed(np.argsort(y_output)[0,-5:]): print ((str(round(y_output[0,label]*100,2))).zfill(5), "% ", m[label])