1.UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples.
在预测数据中存在实际类别没有的标签时报此warning
机器学习的分类任务中错误提示以及解决方案
最新推荐文章于 2024-06-07 20:53:20 发布
1.UndefinedMetricWarning: Precision and F-score are ill-defined and being set to 0.0 in labels with no predicted samples.
在预测数据中存在实际类别没有的标签时报此warning