Hi,
I got this error for Single Best method.
Other methods so far were fine, but up to SB, it produced this error:
~\anaconda3\lib\site-packages\sklearn\base.py in score(self, X, y, sample_weight)
367 """
368 from .metrics import accuracy_score
--> 369 return accuracy_score(y, self.predict(X), sample_weight=sample_weight)
370
371
~\anaconda3\lib\site-packages\deslib\static\single_best.py in predict(self, X)
110 self._check_is_fitted()
111 predicted_labels = self._encode_base_labels(self.best_clf_.predict(X))
--> 112 return self.classes_.take(predicted_labels)
113
114 def predict_proba(self, X):
TypeError: Cannot cast array data from dtype('float64') to dtype('int64') according to the rule 'safe'