You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the function f1 is used for information retrieval problems. However, I really want a function called f1_score that can be used for binary classification problems. This function should take two arguments, predicted and actual and compute the f1 score by calculating the point-wise precision and recall of the predictions.
The text was updated successfully, but these errors were encountered:
Currently, the function
f1
is used for information retrieval problems. However, I really want a function calledf1_score
that can be used for binary classification problems. This function should take two arguments,predicted
andactual
and compute the f1 score by calculating the point-wise precision and recall of the predictions.The text was updated successfully, but these errors were encountered: