Last active
August 20, 2023 08:33
-
-
Save gmyrianthous/9fb325cc21672cec3f8e4bf05afc3d67 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 "test.py", line 14, in <module> | |
clf.fit(train_X, train_Y) | |
File "/usr/local/lib/python3.7/site-packages/sklearn/linear_model/_logistic.py", line 1347, in fit | |
check_classification_targets(y) | |
File "/usr/local/lib/python3.7/site-packages/sklearn/utils/multiclass.py", line 183, in check_classification_targets | |
raise ValueError("Unknown label type: %r" % y_type) | |
ValueError: Unknown label type: 'continuous' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment