I'm working with unbalanced class databases and I'm wondering what's the best practice to retrieve the best threshold cutoff value using roc curve ?
I want the best cutoff to maximize my F1 score.
I already have a roc curve I'm wondering what the best practice to generate the best threshold cutoff.