scikit-learn-contrib / DESlib

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

[WIP] Refactor predict #233

Closed Blizter closed 3 years ago

Blizter commented 3 years ago

Context : @Menelau began refactoring predict, I kindly volunteered to help him with continuing this task. I am creating this PR so keeping track of my changes is easier.

Menelau commented 3 years ago

@Blizter Great, let me know if you have any problems or need to discuss anything about this refactoring process.

Blizter commented 3 years ago

@Menelau advised to follow as an example sklearn's predict method for RandomForestClassifer and another one ( please refresh my memory :smiley: ).

Anyways, after looking at predict_proba, I see how you want it done : parallelize predict method mainly for DES, where each thread/process is a classifier.