I don't really understand why would `np.unique(y_t_class)` and `clf.classes_` have different dtype as under the hood the `AdaBoostClassifier` delegates the creation of the `self.classes_` array to `DecisionTreeClassifier` (the default `base_estimator`) that in turns uses `np.unique` on the `y` argument.