Error in confusionMatrix.default(as.factor(y_pred_label), reference = as.factor(y_label)) : The data contain levels not found in the data.

20250414154124691-image

 

【报错原因】

DCA绘图暂时只支持标签是0和1的数据。

【解决方法】

在完成模型训练和测试集预测之后,连接高级变量运算节点,将真实标签和预测标签(modelPred)转换为 01 的形式。

 

20250414155103547-image

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容