标签: python-3.x machine-learning jupyter-notebook regression random-forest
我正在使用Random Forest Regressor来预测测试值,当我使用混淆矩阵时遇到了这个错误
Random Forest Regressor
from sklearn.metrics import confusion_matrix confusion_matrix(test_features,test_labels)