Package org.tribuo.regression.sgd.fm
Class TrainTest.FMRegressionOptions
java.lang.Object
org.tribuo.regression.sgd.fm.TrainTest.FMRegressionOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- TrainTest
public static class TrainTest.FMRegressionOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of SGD epochs.int
Factor size.The dataset loading options.Gradient descent options.int
Log the objective after n examples.Loss function.int
Minibatch size.boolean
Standardise the output regressors before model fitting.double
Variance of the initialization gaussian.Fields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
-
Method Summary
-
Field Details
-
general
The dataset loading options. -
gradientOptions
Gradient descent options. -
epochs
@Option(charName='i', longName="epochs", usage="Number of SGD epochs.") public int epochsNumber of SGD epochs. Defaults to 5. -
loss
Loss function. Defaults to SQUARED. -
loggingInterval
@Option(charName='p', longName="logging-interval", usage="Log the objective after <int> examples.") public int loggingIntervalLog the objective after n examples. Defaults to 100. -
minibatchSize
@Option(charName='z', longName="minibatch-size", usage="Minibatch size.") public int minibatchSizeMinibatch size. Defaults to 1. -
factorSize
@Option(charName='d', longName="factor-size", usage="Factor size.") public int factorSizeFactor size. -
variance
@Option(longName="variance", usage="Variance of the initialization gaussian.") public double varianceVariance of the initialization gaussian. -
standardise
@Option(longName="standardise", usage="Standardise the output regressors before model fitting.") public boolean standardiseStandardise the output regressors before model fitting.
-
-
Constructor Details
-
FMRegressionOptions
public FMRegressionOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-