New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
&fkiraly [BUG] fix sklearn
interface non-conformance for estimators in _proximity_forest.py, add further test parameter sets
#3520
&fkiraly [BUG] fix sklearn
interface non-conformance for estimators in _proximity_forest.py, add further test parameter sets
#3520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Can you kindly make sure to:
- check runtimes with
check_estimator
and report these - ensure that more parameters are covered (logical parameters)
- that the values for parameters differ across the two scenarios
also, your linting is failing - kindly check your linters |
b970962
to
1d7a2e7
Compare
For
For
For
|
The other failing tests appear to be genuine failures. What surprises me is that the first parameter set (the one previously used) leads to failure - according to the remote CI, it should not fail? I will start remote CI and see what is going on, possibly we have found some actual bugs here. |
So @fkiraly looks like several errors are raised by the file I modified, I tried to look at them and I am a bit lost :( |
@Abelarm, I've looked at it and thing it is one of two things:
You have done all as would be expected, great! What you could do next:
|
Since I am already "familiar" with this part of code I'll try to check if I am able to understand what's going on 🚀 |
sklearn
interface non-conformance for estimators in _proximity_forest.py, add further test parameter sets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the outstanding interface issues.
Actionables re problematic parameters are moved here: #5042
Reference Issues/PRs
#3429
What does this implement/fix? Explain your changes.
Added a second set of params to the testing method
get_test_params
, changed the signature of the method for the classProximityStump
to reflect theBaseClassifier
This unveiled an unreported bug which is also fixed:
the
distance_measure
param was overwritten whenever it wasNone
.