---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-30-994fd9fd6671> in <module>
1 # 학습
----> 2 clf=clf.fit(X, Y)
D:\anaconda\lib\site-packages\sklearn\tree\_classes.py in fit(self, X, y, sample_weight, check_input, X_idx_sorted)
896 """
897
--> 898 super().fit(
899 X, y,
900 sample_weight=sample_weight,
D:\anaconda\lib\site-packages\sklearn\tree\_classes.py in fit(self, X, y, sample_weight, check_input, X_idx_sorted)
188
189 if is_classification:
--> 190 check_classification_targets(y)
191 y = np.copy(y)
192
D:\anaconda\lib\site-packages\sklearn\utils\multiclass.py in check_classification_targets(y)
181 if y_type not in ['binary', 'multiclass', 'multiclass-multioutput',
182 'multilabel-indicator', 'multilabel-sequences']:
--> 183 raise ValueError("Unknown label type: %r" % y_type)
184
185
ValueError: Unknown label type: 'continuous'시작도 안했는데 ㅜㅜ 무슨 문제인지 모르겠네요 ㅜㅜ
comment