Objective perturbation (a random linear term added to the penalised objective) or output perturbation (noise on the fitted coefficients).
Usage
morie_dp_logistic(
X,
y,
epsilon = 1,
method = c("objective", "output"),
lam = 0.01,
C = 1,
n_iter = 100,
lr = 0.1,
seed = NULL
)Details
Objective perturbation is the better mechanism at equal epsilon: the
noise enters before the optimisation, so the fit adapts to it instead
of carrying it. Note what the regulariser buys – strong convexity is
what BOUNDS the sensitivity in the first place, so lam is not
a tuning knob here but part of the guarantee, and lam = 0 has no
guarantee at all.
