Open tias opened 6 years ago
You are right about the first point! I've noticed that #7 introduced some other small bugs. I'll create a new PR to fix those.
Regarding the PyPi package: I think this new functionality has not yet been published to PyPi by @bigdong89.
For the last point, I would be fine merging the _make_grouped_metric into the Scorer class like you propose. I would support a PR for that.
Going to publish it to PyPi
@FlorisHoogenboom
going to add you as collaborator on pypi. I need your pypi accounts
Sure, FlorisHoogenboom
https://github.com/bigdong89/xgboostExtension/blob/18d4b8bb5fc0dfb13f2b2af590fd5adc7f5232c8/xgboostextension/scorer/__init__.py#L25
On the above line, should be {} instead of None, otherwise pickling (for parallel CV) will still not work.
Also note that this functionality is not present in the pip packages, I think the classes are not registered for packaging or smth.
Finally, I find the multiple classes quite too much, the same can be achieved with a single class in the style of: