Maximum score estimator is used to maximize classification true positives and negatives

Taken from Stats StackExchange

Used when we want to maximize the difference between the true positives and false positives.

There is a derivation in there of how the thing works.

According to the derivation, this is also equivalent to maximizing the number of correct predictions.