Usage
fit_recalibrator(
method,
y = NULL,
p = NULL,
train_prevalence = NULL,
target_prevalence = NULL
)
Arguments
- method
"none", "prior_shift", "platt" or "isotonic". platt / isotonic need y and p at natural
prevalence; prior_shift needs the two prevalences.
- y, p
outcomes and probabilities
- train_prevalence, target_prevalence
base rates.
Value
A list of class omop_recalibrator with method, params and a predict function.