Creates a code evaluator that computes precision: of the labels the model
predicted as a given class, the fraction that were actually that class.
Supports binary classification (via positiveLabel, or auto-detected when
average is at its default "macro" and labels are the numeric set
{0, 1}) and multi-class classification (via the average strategy).
Creates a code evaluator that computes precision: of the labels the model predicted as a given class, the fraction that were actually that class.
Supports binary classification (via
positiveLabel, or auto-detected whenaverageis at its default"macro"and labels are the numeric set{0, 1}) and multi-class classification (via theaveragestrategy).