Smooth P(state=1 | prob) using rtichoke-compatible LOWESS.
P(state=1 | prob)
Usage
Source
smooth_binary_state( probs, states, *, grid=None, frac=2 / 3, )