I’m trying to solve a binary classification problem, and wondering whether it’s possible to improve/train a model by increasing scores like F1 instead of decreasing BCEWithLogits loss. I know decreasing loss naturally leads to the scores get increased, but I want to try to train model by explicitly increasing F1 scores.