Repository navigation
Labels
Meta-issueGeneral issue associated to an identified list of tasksModerateAnything that requires some knowledge of conventions and best practicesSprint
Description
This 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 #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:
scikit-learn/sklearn/tests/test_common.py
Line 408 in d4d5f8c
| VALIDATE_ESTIMATOR_INIT = [ |
- 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 FIX Removes validation in __init__ for Pipeline #21888
- FactorAnalysis FIX validate parameter in 'fit' for 'FactorAnalysis' #21713
- FastICA
- FeatureHasher FIX Remove validation in FeatureHasher's __init__ #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.
Metadata
Metadata
Assignees
Labels
Meta-issueGeneral issue associated to an identified list of tasksModerateAnything that requires some knowledge of conventions and best practicesSprint
Activity
HayaAlmutairi commentedon Oct 23, 2021
Me and @krumeto will work on FactorAnalysis
amueller commentedon Oct 23, 2021
@HayaAlmutairi Can you please pick one of the estimators / check boxes above to start with, so other people can work on the other ones?
DessyVV commentedon Oct 23, 2021
Me and @LucyJimenez will start working on KernelDensity.
Haidar13 commentedon Oct 23, 2021
I will be working on NuSVC, NuSVR, SVC, SVR, OneClassSVM
marenwestermann commentedon Oct 23, 2021
@hhnnhh and I are working on FastICA.
krumetoft commentedon Oct 23, 2021
Working on LabelBinarizer.
DessyVV commentedon Oct 24, 2021
@glemaitre I think this issue got closed by mistake because of my PR. Could it be reopened?
chritter commentedon Oct 31, 2021
@fortune-uwha and I will be working on
RadiusNeighborsClassifier.chritter commentedon Oct 31, 2021
@thomasjpfan We noticed that the Issue title mentions
get_paramsbut the test function intest_common.pytests theget_paramsfunction. Could you clarify this? Thanks![-]Remove validation from `__init__` and `get_params`[/-][+]Remove validation from `__init__` and `set_params`[/+]thomasjpfan commentedon Oct 31, 2021
Thanks for catching this. The title was wrong.
chritter commentedon Nov 4, 2021
@thomasjpfan I would suggest a slight modification of the input validation test when testing
set_paramsdue to the limitation ofinspect.signaturewhich returnskwargsas a parameter if defined as**kwargsin the function signature (example for RadiusNeighborsClassifier further below). To address this, I would suggest to callget_params()to retrieve the arguments first and pass those with the test values toset_params(**new_params)as follows:1 remaining item
MrinalTyagi commentedon Nov 6, 2021
Hi. I would like to work in
SGDOneClassSVMmarenwestermann commentedon Nov 6, 2021
Working on
FeatureHasherwith @hhnnhhVibhutiBansal-11 commentedon Nov 7, 2021
Hi, I am working on
GridSearchCV.marenwestermann commentedon Nov 14, 2021
I'm working on
TheilSenRegressorandTweedieRegressor.iofall commentedon Nov 28, 2021
Hey @MrinalTyagi are you still working on
SGDOneClassSVM?MrinalTyagi commentedon Nov 29, 2021
sorry for not updating. Yes, I worked on this issue and will push it in a day.
MrinalTyagi commentedon Dec 4, 2021
Working on
GridSearchCVandHalvingGridSearchCVarisayosh commentedon Dec 5, 2021
Taking a look at
ColumnTransformer,Pipeline,FeatureUnionwith @iofallmarenwestermann commentedon Apr 7, 2022
ColumnTransformer,TheilSenRegressor, andTweedieRegressorcan be removed from the list.ogrisel commentedon Sep 15, 2022
This was the last! Thank you everybody!