[MRG] MAINT deprecate indices=False for cross validation generators#2334
[MRG] MAINT deprecate indices=False for cross validation generators#2334jnothman wants to merge 3 commits intoscikit-learn:masterfrom
Conversation
|
nice 👍 +1 for merge |
|
LGTM |
|
Since it's only deprecation, would it suit to put in 0.14 and shorten the On Wed, Jul 31, 2013 at 7:36 PM, Alexandre Gramfort <
|
|
And there is also a backwards-compatibility issue with On Wed, Jul 31, 2013 at 7:43 PM, Joel Nothman
|
|
it should not break people's code so I would just add a note in the what's |
|
I get the following test failures: I don't get that on master. So it seems to have an impact there. @agramfort or @fabianp can you reproduce? |
I am not very confortable with this: the change has side effects. Let us |
np On Thu, Aug 1, 2013 at 6:12 AM, Gael Varoquaux notifications@github.comwrote:
|
|
I cannot reproduce this failure. Anyone else? |
|
problem reproduced using Canopy. can you add a : X, y = check_arrays(X, y) at the beginning of the fit in LarsCV and OrthogonalMatchingPursuitCV ? it should fix the problem. Don't ask me why it's not necessary on |
|
@GaelVaroquaux, I've attempted that Perhaps I should either pass a parameter to affect the KFold warnings, or use |
|
@ogrisel, I've heeded @agramfort to add some |
|
That works for me as well. +1 for merge. Thanks @agramfort for the fix. |
|
👍 for merge! |
|
Seeing as @GaelVaroquaux was concerned about |
|
@GaelVaroquaux, is this good to merge? I just want to check that the deprecation of |
|
I have rebased this on master, and intend to merge tomorrow unless @GaelVaroquaux objects. |
|
I just merged #2370 to clean up the doc a bit. I think this PR should further edit the documentation (after rebasing onto master) to not show the |
|
I meant "to not show the |
|
Merged by rebase, docs fixed. |
|
Thanks! |
|
Hmmm... I've realised that despite the support for this PR, it's not complete: the |
They're going to be deprecated in scikit-learn soon, scikit-learn/scikit-learn#2334
As per ML: adding some lines to remove many more in the future.