-
Notifications
You must be signed in to change notification settings - Fork 21
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
[TO_REVIEW] Switch allow_source to True by default #64
[TO_REVIEW] Switch allow_source to True by default #64
Conversation
We talked about this during the call: predict on source might be an ill-defined operation. Even when it is well-defined, performing predict on the source should not be a 'common' thing to do. Certainly requires an explicit intent to do so. |
Oh yes right, well in that case we should set to Also at which point in the pipeline can we set the |
For the pipeline you just pass it into the function that you call, like predict for example. The routing mechanism is there to make sure that the parameter goes where it's due. |
I'm not sure that has to be False for all cases, I need to refresh my memory of what those cases are. It seems to me we had a form of 'fit_transform' that was designed for adapters fitting but I'm not sure this functionality survived the latest re-write of the API. |
The |
So the logic in the original code was the following:
The idea is that |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #64 +/- ##
==========================================
- Coverage 86.24% 86.12% -0.13%
==========================================
Files 37 37
Lines 2334 2328 -6
==========================================
- Hits 2013 2005 -8
- Misses 321 323 +2 ☔ View full report in Codecov by Sentry. |
This one is ready to be merged, right @YanisLalou? |
I just reformulated something to make it clearer. Now it is ready to be merged |
I had ValueErrors raised when running this code:
I was because the allow_source during the Check_X_source was set to False by default which shouldn't be the case.