Conformal#

class torch_uncertainty.post_processing.Conformal(alpha, model, ts_init_val, ts_lr, ts_max_iter, enable_ts, device)[source]#

Conformal base class.

Warning

This implementation only works in the multiclass setting. Raise an issue if binary is needed.

model_forward(inputs)[source]#

Apply the model and return the scores.