BUG: sklearn cannot find LeaveOneLabelOut
See original GitHub issueOn latest sklearn
I get this error in master
:
======================================================================
ERROR: Test time generalization decoding
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/larsoner/custombuilds/nose/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/larsoner/custombuilds/mne-python/mne/utils.py", line 807, in dec
return function(*args, **kwargs)
File "/home/larsoner/custombuilds/mne-python/mne/decoding/tests/test_time_gen.py", line 61, in test_generalization_across_time
from sklearn.model_selection import (KFold, StratifiedKFold,
ImportError: cannot import name LeaveOneLabelOut
@kingjr @agramfort were we using a deprecated feature, or is this a sklearn bug?
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Version 0.18.2 — scikit-learn 1.2.0 documentation
Fix a bug where some formats of scipy.sparse matrix, and estimators with them as parameters, could not be passed to base.clone . By...
Read more >Can't find any error in sklearn installation in ubuntu
I have installed scikit-learn using the command 'sudo apt-get install python-sklearn'. But I am getting ModuleNotFoundError.
Read more >3.1. Cross-validation: evaluating estimator performance
The performance measure reported by k-fold cross-validation is then the average of the values computed in the loop. This approach can be computationally ......
Read more >sklearn.model_selection.LeaveOneLabelOut
Provides train/test indices to split data according to a third-party provided label. This label information can be used to encode arbitrary domain specific ......
Read more >Fix ModuleNotFoundError: No module named 'sklearn'
This error indicates that the scikit-learn (aka sklearn ) package was not installed ... version and this may be the reason why scikit-learn...
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 Free
Top 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
Ahh, it’s now called
LeaveOneGroupOut
Thx!
On Mon, Oct 3, 2016 at 2:08 PM +0900, “Eric Larson” notifications@github.com wrote:
done
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.