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

[WIP] Refactor predict #234

Closed Blizter closed 3 years ago

Blizter commented 3 years ago

First PR wasn't using refactor_predict branch from my fork.

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. He also 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 method, parallelize predict method mainly for DES, where each thread/process is a classifier.