hats icon indicating copy to clipboard operation
hats copied to clipboard

run code , but meets error in sklearn/metrics/classification.py:1143

Open wintogo opened this issue 5 years ago • 2 comments

UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.

wintogo avatar Jan 07 '20 14:01 wintogo

This probably isn't really an issue with the code itself.

Check this Stack Overflow question: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.

seanswyi avatar Jan 07 '20 23:01 seanswyi

I also get the error TypeError: 'NoneType' object is not iterable in main.py https://github.com/dmis-lab/hats/issues/9 https://hjlabs.in/

hemangjoshi37a avatar Aug 18 '22 08:08 hemangjoshi37a