Getting a probability given a prediction score

Platt scaling is a method to scale score to probability. It uses logistics transformation with some learable parameters.

What’s interesting is the use of laplace smoothing (or, uniform prior) to avoid overfitting.