Skip to main content

ClassificationEngine.best_model

ClassificationEngine.best_model(key='auc', split='validation')

The model with the highest score on key.

auc rather than accuracy as the default, for the reason it is the default metric: measured at a prevalence of 3%, accuracy spans 0.0100 across models whose AUC spans 0.4631 and is not even monotone in their discrimination, so choosing on it is choosing on noise with a model that has no signal in the lead.