MELD
MELD copied to clipboard
class weight {0: 4.0, 1: 15.0, 2: 15.0, 3: 3.0, 4: 1.0, 5: 6.0, 6: 3.0}, it still is zero
Dear professor
i am really sorry to disturb you. I add the class_weight={0: 4.0, 1: 15.0, 2: 15.0, 3: 3.0, 4: 1.0, 5: 6.0, 6: 3.0}. the prceision is zero
precision recall f1-score support
0 0.4919 0.9889 0.6570 1256
1 0.0000 0.0000 0.0000 281
2 0.0000 0.0000 0.0000 50
3 0.0000 0.0000 0.0000 208
4 0.0000 0.0000 0.0000 402
5 0.0000 0.0000 0.0000 68
6 0.4353 0.1072 0.1721 345
micro avg 0.4900 0.4900 0.4900 2610 macro avg 0.1325 0.1566 0.1184 2610 weighted avg 0.2942 0.4900 0.3389 2610
Weighted FScore: (0.2942449206381084, 0.4900383141762452, 0.3388985544501019, None)
How to fix it? thanks, best wishes