-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG + 2] Fixed parameter setting in SelectFromModel #7764
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
[MRG + 2] Fixed parameter setting in SelectFromModel #7764
Conversation
but should there be a way to use a model with |
Why not call |
Because that requires understanding (and assuming) that |
So you'd prefer adding a |
@@ -102,6 +102,9 @@ Bug fixes | |||
<https://github.com/scikit-learn/scikit-learn/pull/7676>`_) | |||
by `Mohammed Affan`_ | |||
|
|||
- Fixed setting parameters when calling ``fit`` multiple times on | |||
:ref:`feature_selection.SelectFromModel`. :issue:`7756` by `Andreas Müller`_ |
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.
Should this be ref
and not class
?
Nah, with |
done |
LGTM pending rebase |
(FWIW, @raghavrv, now that we're mostly relying on squash and merge, I On 8 November 2016 at 01:03, Raghav RV notifications@github.com wrote:
|
Indeed!
Ah the merge commits can be squashed. Neat. Thanks for letting me know :) |
Well, the squash and merge basically takes the diff and ignores commit On 8 November 2016 at 07:06, Raghav RV notifications@github.com wrote:
|
# Conflicts: # doc/whats_new.rst
did a merge commit. Let's see how this goes. |
Merging once appveyor passes, which will be in 8 mins approx ;) |
Thanks @amueller |
looks like it worked. We should do merges instead of rebases so the review comments don't get messed up. Maybe we should add that to the PR template? |
Should do merges instead of rebases to discourage push -f too On 10 November 2016 at 07:36, Andreas Mueller notifications@github.com
|
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
* tag '0.18.1': (144 commits) skip tree-test on 32bit do the warning test as we do it in other places. Replase assert_equal by assert_almost_equal in cosine test version bump 0.18.1 fix merge conflict mess in whatsnew add the python2.6 warning to 0.18.1 fix learning_curve test that I messed up in cherry-picking the "reentrant cv" PR. sync whatsnew with master [MRG] TST Ensure __dict__ is unmodified by predict, transform, etc (scikit-learn#7553) FIX scikit-learn#6420: Cloning decision tree estimators breaks criterion objects (scikit-learn#7680) Add whats new entry for scikit-learn#6282 (scikit-learn#7629) [MGR + 2] fix selectFdr bug (scikit-learn#7490) fixed whatsnew cherry-pick mess (somewhat) [MRG + 2] FIX LogisticRegressionCV to correctly handle string labels (scikit-learn#5874) [MRG + 2] Fixed parameter setting in SelectFromModel (scikit-learn#7764) [MRG+2] DOC adding separate `fit()` methods (and docstrings) for DecisionTreeClassifier and DecisionTreeRegressor (scikit-learn#7824) Fix docstring typo (scikit-learn#7844) n_features --> n_components [MRG + 1] DOC adding :user: role to whats_new (scikit-learn#7818) [MRG+1] label binarizer not used consistently in CalibratedClassifierCV (scikit-learn#7799) DOC : fix docstring of AIC/BIC in GMM ...
* releases: (144 commits) skip tree-test on 32bit do the warning test as we do it in other places. Replase assert_equal by assert_almost_equal in cosine test version bump 0.18.1 fix merge conflict mess in whatsnew add the python2.6 warning to 0.18.1 fix learning_curve test that I messed up in cherry-picking the "reentrant cv" PR. sync whatsnew with master [MRG] TST Ensure __dict__ is unmodified by predict, transform, etc (scikit-learn#7553) FIX scikit-learn#6420: Cloning decision tree estimators breaks criterion objects (scikit-learn#7680) Add whats new entry for scikit-learn#6282 (scikit-learn#7629) [MGR + 2] fix selectFdr bug (scikit-learn#7490) fixed whatsnew cherry-pick mess (somewhat) [MRG + 2] FIX LogisticRegressionCV to correctly handle string labels (scikit-learn#5874) [MRG + 2] Fixed parameter setting in SelectFromModel (scikit-learn#7764) [MRG+2] DOC adding separate `fit()` methods (and docstrings) for DecisionTreeClassifier and DecisionTreeRegressor (scikit-learn#7824) Fix docstring typo (scikit-learn#7844) n_features --> n_components [MRG + 1] DOC adding :user: role to whats_new (scikit-learn#7818) [MRG+1] label binarizer not used consistently in CalibratedClassifierCV (scikit-learn#7799) DOC : fix docstring of AIC/BIC in GMM ... Conflicts: removed sklearn/externals/joblib/__init__.py sklearn/externals/joblib/_parallel_backends.py sklearn/externals/joblib/testing.py
* dfsg: (144 commits) skip tree-test on 32bit do the warning test as we do it in other places. Replase assert_equal by assert_almost_equal in cosine test version bump 0.18.1 fix merge conflict mess in whatsnew add the python2.6 warning to 0.18.1 fix learning_curve test that I messed up in cherry-picking the "reentrant cv" PR. sync whatsnew with master [MRG] TST Ensure __dict__ is unmodified by predict, transform, etc (scikit-learn#7553) FIX scikit-learn#6420: Cloning decision tree estimators breaks criterion objects (scikit-learn#7680) Add whats new entry for scikit-learn#6282 (scikit-learn#7629) [MGR + 2] fix selectFdr bug (scikit-learn#7490) fixed whatsnew cherry-pick mess (somewhat) [MRG + 2] FIX LogisticRegressionCV to correctly handle string labels (scikit-learn#5874) [MRG + 2] Fixed parameter setting in SelectFromModel (scikit-learn#7764) [MRG+2] DOC adding separate `fit()` methods (and docstrings) for DecisionTreeClassifier and DecisionTreeRegressor (scikit-learn#7824) Fix docstring typo (scikit-learn#7844) n_features --> n_components [MRG + 1] DOC adding :user: role to whats_new (scikit-learn#7818) [MRG+1] label binarizer not used consistently in CalibratedClassifierCV (scikit-learn#7799) DOC : fix docstring of AIC/BIC in GMM ...
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
* Fixed cloning ``estimator`` again when calling fit a second time in SelectFromModel * fix link in whatsnew
Fixes #7756.