pyepilepsy.metrics

Specific metrics used for forecasting epilepsy

Functions

compute_ioc

Compute the Improvement Over Chance.

compute_sensitivity_chance_pred

Compute the sensitivity of a random poisson based chance predictor given the time in warning ratio of the predictor.

compute_tiw

Extract the time in warning of the current predictions given a tau