Skip to content
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

error in l.sort() -> introspect_sklearn.py", line 136 #9

Open
Sandy4321 opened this issue Jul 29, 2018 · 0 comments
Open

error in l.sort() -> introspect_sklearn.py", line 136 #9

Sandy4321 opened this issue Jul 29, 2018 · 0 comments

Comments

@Sandy4321
Copy link

C:\Users\sndr\Anaconda3\lib\site-packages\sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
C:\Users\sndr\Anaconda3\lib\site-packages\sklearn\learning_curve.py:22: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the functions are moved. This module will be removed in 0.20
DeprecationWarning)
.E.

ERROR: test_parse_range (main.TestSequenceFunctions)

Traceback (most recent call last):
File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\tests.py", line 29, in test_parse_range
self.assertEqual([False, True, 'auto'], prt("{True, False, 'auto'}"))
File "e:\Auto ML\code\py_ml_utils_master_changed_2\py_ml_utils_master_changed\pml\introspect_sklearn.py", line 136, in parse_range_type
l.sort()
TypeError: '<' not supported between instances of 'str' and 'bool'


Ran 3 tests in 0.006s

FAILED (errors=1)
was used
sklearn.version
'0.19.1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant