Remove validation from `__init__` and `set_params`
See original GitHub issueThis issue is reserved for the Data Umbrella Africa & Middle East Sprint on October 23, 2021 as a good first issue. For non-sprint contributors, please wait till October 30, 2021 to work on this issue.
Follow up to https://github.com/scikit-learn/scikit-learn/pull/16945
- Make sure you have the development dependencies and documentation dependencies installed.
- Pick an from the list below and leave a comment saying you are going to work on it. This way we can keep track of what everyone is working on.
- Remove the estimator(s) from:
- Run the test for checking for no validation, which should fail:
pytest sklearn/tests/test_common.py::test_estimators_do_not_raise_errors_in_init_or_set_params
- Update the codebase so the above test passes.
- Open a Pull Request with an opening message
Addresses #21406
. Note that each item should be submitted in a separate Pull Request. - Include the function name in the title of the pull request. For example: “ENH Removes validation in
__init__
for _______”.
- ColumnTransformer
- Pipeline, FeatureUnion #21888
- FactorAnalysis #21713
- FastICA
- FeatureHasher #21573
- GridSearchCV, HalvingGridSearchCV
- KernelDensity
- KernelPCA
- LabelBinarizer
- NuSVC, NuSVR, SVC, SVR, OneClassSVM
- RadiusNeighborsClassifier
- SGDOneClassSVM: tricky to get right (not a good first issue)
- TheilSenRegressor
- TweedieRegressor
Estimators on the same line should be fixed together since they share a parent class.
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (21 by maintainers)
Top Results From Across the Web
Validating Fields | Lightning Aura Components Developer Guide
Validate user input, handle errors, and display error messages on input fields. Built-in field validation is available for the base components discussed in ......
Read more >Angular removing Validators.min from form control validation
Im trying to use clearValidators() to remove the validation but it only removes the required but not the min(0.1).
Read more >e.force:navigateToURL: [Cannot read property 'setParams' of ...
This event is handled by the one.app container. It's supported in Lightning Experience, Salesforce1, and Lightning communities. Share. Share ...
Read more >Salesforce Lightning Tutorial - Part 5 | Adding Validations
So, let's begin by adding validations in our Lightning Component. Here our main focus is on client side validations only so all this...
Read more >Dynamically Add/Remove Validators in Angular Reactive Forms
For this, you might think of adding and removing required validator from “County” ... For e.g., Suppose during form initialization, you set maxLength...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was the last! Thank you everybody!
I will be working on NuSVC, NuSVR, SVC, SVR, OneClassSVM