Spaces:
Runtime error
Runtime error
How to get F1-Macro in Seqeval
#2
by
kittubdanuj
- opened
u can create a custom variable to calculate the mean of every f1 score like this:
macro_f1_scores.append(metrics[entity_type]["f1"])
macro_f1 = np.mean(macro_f1_scores)
