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
SequenceModels which
emit Labels at each step of the sequence.-
Uses of LabelMetric.Context in org.tribuo.classification.evaluation
Methods in org.tribuo.classification.evaluation that return LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelMetric.ContextLabelEvaluator.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 TypeMethodDescriptiondoubleLabelMetric.compute(LabelMetric.Context context) protected LabelEvaluationLabelEvaluator.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 newLabelMetricfor the supplied metric target, using the supplied function. -
Uses of LabelMetric.Context in org.tribuo.classification.sequence
Methods in org.tribuo.classification.sequence that return LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelMetric.ContextLabelSequenceEvaluator.createContext(SequenceModel<Label> model, List<List<Prediction<Label>>> predictions) Methods in org.tribuo.classification.sequence with parameters of type LabelMetric.ContextModifier and TypeMethodDescriptionprotected LabelSequenceEvaluationLabelSequenceEvaluator.createEvaluation(LabelMetric.Context ctx, Map<MetricID<Label>, Double> results, EvaluationProvenance provenance) Constructors in org.tribuo.classification.sequence with parameters of type LabelMetric.ContextModifierConstructorDescriptionprotectedLabelSequenceEvaluation(Map<MetricID<Label>, Double> results, LabelMetric.Context ctx, EvaluationProvenance provenance) Constructs a LabelSequenceEvaluation using the supplied parameters.