Class FMMultiLabelOptions
java.lang.Object
org.tribuo.multilabel.sgd.fm.FMMultiLabelOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
public class FMMultiLabelOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
CLI options for training a linear classifier.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionintNumber of SGD epochs.intFactor size.intLog the objective after n examples.intMinibatch size.Loss function.doubleVariance of the initialization gaussian.The gradient descent optimiser options.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLoss()Returns the loss function specified in the arguments.Gets the trainer as configured by these options.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
sgoOptions
The gradient descent optimiser options. -
fmEpochs
@Option(longName="fm-epochs", usage="Number of SGD epochs.") public int fmEpochsNumber of SGD epochs. -
fmObjective
@Option(longName="fm-objective", usage="Loss function.") public FMMultiLabelOptions.LossEnum fmObjectiveLoss function. -
fmLoggingInterval
@Option(longName="fm-logging-interval", usage="Log the objective after <int> examples.") public int fmLoggingIntervalLog the objective after n examples. -
fmMinibatchSize
@Option(longName="fm-minibatch-size", usage="Minibatch size.") public int fmMinibatchSizeMinibatch size. -
fmFactorSize
@Option(longName="fm-factor-size", usage="Factor size.") public int fmFactorSizeFactor size. -
fmVariance
@Option(longName="fm-variance", usage="Variance of the initialization gaussian.") public double fmVarianceVariance of the initialization gaussian.
-
-
Constructor Details
-
FMMultiLabelOptions
public FMMultiLabelOptions()
-
-
Method Details
-
getLoss
Returns the loss function specified in the arguments.- Returns:
- The loss function.
-
getTrainer
Gets the trainer as configured by these options.- Returns:
- The trainer.
-