python出现Unknown label type: 'continuous'问题 在调用sklearn时出现 Unknown label type: ‘continuous’以DecisionTreeClassifier为例原码model.fit(X_train, y_train)更改为model.fit(X_train, y_train.astype('int')) 机器学习 2023-03-11 51 点赞 0 评论 77 浏览