Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[MRG+1] FIX Pickled sample_weights in BinaryTree #11774
What does this implement/fix? Explain your changes.
This PR adds the
Also, pickled KDTree and BallTree instances now keep their classes. Before, they would become BinaryTree objects.
Any other comments?
I added a basic test which is basically the sample code in #11769, but this is only testing a side effect of the changes. I'm not sure what could be more relevant here.
Thanks @NicolasHug for the PR