See this on how the comparison is done based on the classname: https://github.com/automl/auto-sklearn/blob/master/autosklearn/evaluation/train_evaluator.py#L913 Instead, we should use `isinstance`