So I am doing a document classification and the class of the documents can be from [1,2,3,...,10].
Now I feed the model one document, I get the output [1,4,7] but the ground truth is [1,5]. Now I want to calculate the f1 score using sklearn?
I can't find this format of f1 score calculation in sklearn documentation. How to do it then?