Uses of Interface
org.tribuo.classification.sgd.LabelObjective
Packages that use LabelObjective
Package
Description
Provides an implementation of a classification linear model using Stochastic Gradient Descent.
Provides classification loss functions for Stochastic Gradient Descent.
-
Uses of LabelObjective in org.tribuo.classification.sgd.linear
Methods in org.tribuo.classification.sgd.linear that return LabelObjectiveModifier and TypeMethodDescriptionLinearSGDOptions.getLoss()Returns the loss function specified in the arguments.Constructors in org.tribuo.classification.sgd.linear with parameters of type LabelObjectiveModifierConstructorDescriptionLinearSGDTrainer(LabelObjective objective, StochasticGradientOptimiser optimiser, int epochs, int loggingInterval, int minibatchSize, long seed) Constructs an SGD trainer for a linear model.LinearSGDTrainer(LabelObjective objective, StochasticGradientOptimiser optimiser, int epochs, int loggingInterval, long seed) Sets the minibatch size to 1.LinearSGDTrainer(LabelObjective objective, StochasticGradientOptimiser optimiser, int epochs, long seed) Sets the minibatch size to 1 and the logging interval to 1000. -
Uses of LabelObjective in org.tribuo.classification.sgd.objectives
Classes in org.tribuo.classification.sgd.objectives that implement LabelObjectiveModifier and TypeClassDescriptionclassHinge loss, scores the correct value margin and any incorrect predictions -margin.classA multiclass version of the log loss.