scikit-learn-contrib / DESlib

A Python library for dynamic classifier and ensemble selection
BSD 3-Clause "New" or "Revised" License
477 stars 106 forks source link

Can we change the threshold for META-DES? #239

Closed jayahm closed 3 years ago

jayahm commented 3 years ago

Hi,

Can I use a different threshold for META-DES?

If yes, what actually the criteria to set the threshold?

If no, why it should be always 0.5?

Menelau commented 3 years ago

Hello,

Yes you can change the competence threshold (selection_threshold) so that the method becomes either more (increasing the threshold) or less strict. You can check that in the method's documentation how to do it: https://deslib.readthedocs.io/en/latest/modules/des/meta_des.html