Another important aspect is to normalize the data so that it has zero mean and unit variance, which is a common requirement for many machine learning algorithms. This step can be easily done using the StandardScaler class from scikit-learn. Note that the StandardScaler transform should be fitted using the training and DSEL data only. Then, it can be applied for the test data.
Hi, in this example here: https://deslib.readthedocs.io/en/latest/auto_examples/example_heterogeneous.html
You forgot to scale the data.
You say here: https://deslib.readthedocs.io/en/latest/user_guide/tutorial.html#preparing-the-dataset
Also see here: https://github.com/scikit-learn/scikit-learn/issues/12982
Thanks Philip