报错分析:Precision and F-score are ill-defined for being 0.0 in labels with no predicted samples
NLP情感分析任务报错如下UndefinedMetricWarning:PrecisionandF-scoreareill-definedandbeingsetto0.0inlabelswithnopredictedsamples.Usezero_divisionparametertocontrolthisbehavior