Package org.tribuo.regression.sgd
Class TrainTest.SGDOptions
java.lang.Object
org.tribuo.regression.sgd.TrainTest.SGDOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
- TrainTest
public static class TrainTest.SGDOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of SGD epochs.The dataset loading options.Gradient descent options.int
Log the objective after n examples.Loss function.int
Minibatch size.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.
-
-
Constructor Details
-
SGDOptions
public SGDOptions()
-
-
Method Details
-
getOptionsDescription
- Specified by:
getOptionsDescription
in interfacecom.oracle.labs.mlrg.olcut.config.Options
-