smooth.OM.residuals

property OM.residuals: ndarray[tuple[Any, ...], dtype[_ScalarT]]

ot - p_fitted (binary indicator minus fitted probability).