-
Notifications
You must be signed in to change notification settings - Fork 79
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
refactor: do not require an empty struct in cross_validate to define … #231
base: development
Are you sure you want to change the base?
refactor: do not require an empty struct in cross_validate to define … #231
Conversation
…which is the estimator
Even though, it looks like more easy to use this passing the parameter, it looks weird to me to pass an unitialized empty struct, instead we can take advantage of that we can explicitly define which is the Estimator that we want to use using turbofish syntax |
@morenol from a programming perspective I agree, but writing If you want to remove the
I used PS: I don't like how |
Codecov Report
@@ Coverage Diff @@
## development #231 +/- ##
===============================================
+ Coverage 43.93% 44.05% +0.11%
===============================================
Files 85 85
Lines 7290 7268 -22
===============================================
- Hits 3203 3202 -1
+ Misses 4087 4066 -21
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I agree, I am not fan of having an API were something like this is required |
|
see discussion at #230 |
…which is the estimator
Fixes #230
Checklist
Current behaviour
New expected behaviour
Change logs