Uses of Class
org.tribuo.classification.evaluation.LabelMetric.Context
Packages that use LabelMetric.Context
Package
Description
Evaluation classes for multi-class classification.
Provides infrastructure for
SequenceModel
s which
emit Label
s at each step of the sequence.-
Uses of LabelMetric.Context in org.tribuo.classification.evaluation
Subclasses with type arguments of type LabelMetric.Context in org.tribuo.classification.evaluationClasses in org.tribuo.classification.evaluation that implement interfaces with type arguments of type LabelMetric.ContextModifier and TypeClassDescriptionclass
Methods in org.tribuo.classification.evaluation that return LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelMetric.Context
LabelEvaluator.createContext
(Model<Label> model, List<Prediction<Label>> predictions) LabelMetric.createContext
(Model<Label> model, List<Prediction<Label>> predictions) Methods in org.tribuo.classification.evaluation that return types with arguments of type LabelMetric.ContextModifier and TypeMethodDescriptionLabelMetrics.getImpl()
Returns the implementing function for this metric.Methods in org.tribuo.classification.evaluation with parameters of type LabelMetric.ContextModifier and TypeMethodDescriptiondouble
LabelMetric.compute
(LabelMetric.Context context) protected LabelEvaluation
LabelEvaluator.createEvaluation
(LabelMetric.Context ctx, Map<MetricID<Label>, Double> results, EvaluationProvenance provenance) Constructor parameters in org.tribuo.classification.evaluation with type arguments of type LabelMetric.ContextModifierConstructorDescriptionLabelMetric
(MetricTarget<Label> tgt, String name, ToDoubleBiFunction<MetricTarget<Label>, LabelMetric.Context> impl) Construct a newLabelMetric
for the supplied metric target, using the supplied function. -
Uses of LabelMetric.Context in org.tribuo.classification.sequence
Subclasses with type arguments of type LabelMetric.Context in org.tribuo.classification.sequenceMethods in org.tribuo.classification.sequence that return LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelMetric.Context
LabelSequenceEvaluator.createContext
(SequenceModel<Label> model, List<List<Prediction<Label>>> predictions) Methods in org.tribuo.classification.sequence with parameters of type LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelSequenceEvaluation
LabelSequenceEvaluator.createEvaluation
(LabelMetric.Context ctx, Map<MetricID<Label>, Double> results, EvaluationProvenance provenance) Constructors in org.tribuo.classification.sequence with parameters of type LabelMetric.ContextModifierConstructorDescriptionprotected
LabelSequenceEvaluation
(Map<MetricID<Label>, Double> results, LabelMetric.Context ctx, EvaluationProvenance provenance)