F-score is ill-defined and being set to 0.0 in labels with no true samples.
生肉地址:https://stackoverflow.com/questions/43162506/undefinedmetricwarning-f-score-is-ill-defined-and-being-set-to-0-0-in-labels-wi原因:存在一些样本label为y_true,但是你的y_pred并没有预测到。比如y_true=(0,1,2,3,4)y_pred=(0,1,