Hello,
I'm using deslib as part of benchmark paper comparing classifier selection by AutoML tools vs MCS tools for which this library is hugely useful. However, I need to get the competences and selections by both DCS and DES methods in deslib. There seems to be no examples for what is exposed as public API features in estimate_competence_from_proba(query, neighbors, probabilities, distances=None) and selection(competences).
Which of these would be the better way to get the competences and selections:
- Do I use a non-listed API methods of the model to generate the
neighbors, probabilities and distances. This would help ensure all values are the same as the DCS/DES model would generate but I am unsure which methods to call for these. My gut however says no if neighbors, probabilities have no defaults parameters.
- Use
sklearn's knn to generate neighbors and distances, manually getting to probabilities of the models. This is a lot easier as a non-experienced user of deslib but could lead to inconsistencies with the DCS/DES model.
I understand it might be low in the priority but an example or a simplified API would be hugely helpful.
If you can point me in the right direction I would be happy to write a pull request with an example or usability improvement!
Hello,
I'm using
deslibas part of benchmark paper comparing classifier selection by AutoML tools vs MCS tools for which this library is hugely useful. However, I need to get the competences and selections by both DCS and DES methods indeslib. There seems to be no examples for what is exposed as public API features inestimate_competence_from_proba(query, neighbors, probabilities, distances=None)andselection(competences).Which of these would be the better way to get the competences and selections:
neighbors,probabilitiesanddistances. This would help ensure all values are the same as the DCS/DES model would generate but I am unsure which methods to call for these. My gut however says no ifneighbors,probabilitieshave no defaults parameters.sklearn'sknnto generateneighborsanddistances, manually getting to probabilities of themodels. This is a lot easier as a non-experienced user ofdeslibbut could lead to inconsistencies with the DCS/DES model.I understand it might be low in the priority but an example or a simplified API would be hugely helpful.
If you can point me in the right direction I would be happy to write a pull request with an example or usability improvement!