soft_lm() estimates the effects of a latent categorical group from calibrated class probabilities, with cross-fitted nuisance functions, repeated sample splitting, weights and cluster-robust standard errors.
recalibrate() recalibrates the class probabilities on labelled data, checks the recalibrated probabilities out of fold and recomputes the estimate; its predict() method recalibrates other data.