Created
June 28, 2015 20:51
-
-
Save MartinThoma/413188f5a4edbc254efe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "multilabel.py", line 55, in <module> | |
nn_example() | |
File "multilabel.py", line 49, in nn_example | |
net1.fit(feature_vectors, labels) | |
File "/usr/local/lib/python2.7/dist-packages/nolearn-0.6adev-py2.7.egg/nolearn/lasagne/base.py", line 321, in fit | |
self.train_loop(X, y) | |
File "/usr/local/lib/python2.7/dist-packages/nolearn-0.6adev-py2.7.egg/nolearn/lasagne/base.py", line 328, in train_loop | |
X, y, self.eval_size) | |
File "/usr/local/lib/python2.7/dist-packages/nolearn-0.6adev-py2.7.egg/nolearn/lasagne/base.py", line 448, in train_test_split | |
kf = StratifiedKFold(y, round(1. / eval_size)) | |
File "/usr/local/lib/python2.7/dist-packages/sklearn/cross_validation.py", line 434, in __init__ | |
label_test_folds = test_folds[y == label] | |
IndexError: too many indices for array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment