Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Update support of `getClassWeightParam()` #891
Please always think about API changes. the docs of getClassWeightParam say that you return a single numeric Param object. For your getClassWeightParam.BaseEnsemble you now return a list of params.
This is neither documented nor mentioned here in the thread....
@berndbischl I think we talked about how to handle ensembles (But that was some time ago).
So for wrapper and learner this shouldn't be a problem. For ensembles I don't see another possibility, either return all possible base weights in a list or give a meaningful error? I haven't thought about the API change, so the list may be the worst option...
Or maybe we add a new optional argument to