public class LinearSGDOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Modifier and Type | Class and Description |
---|---|
static class |
LinearSGDOptions.LossEnum
Available loss types.
|
Modifier and Type | Field and Description |
---|---|
int |
sgdEpochs |
int |
sgdLoggingInterval |
int |
sgdMinibatchSize |
LinearSGDOptions.LossEnum |
sgdObjective |
GradientOptimiserOptions |
sgoOptions |
Constructor and Description |
---|
LinearSGDOptions() |
Modifier and Type | Method and Description |
---|---|
MultiLabelObjective |
getLoss()
Returns the loss function specified in the arguments.
|
LinearSGDTrainer |
getTrainer() |
public GradientOptimiserOptions sgoOptions
@Option(longName="sgd-epochs", usage="Number of SGD epochs.") public int sgdEpochs
@Option(longName="sgd-objective", usage="Loss function.") public LinearSGDOptions.LossEnum sgdObjective
@Option(longName="sgd-logging-interval", usage="Log the objective after <int> examples.") public int sgdLoggingInterval
@Option(longName="sgd-minibatch-size", usage="Minibatch size.") public int sgdMinibatchSize
public MultiLabelObjective getLoss()
public LinearSGDTrainer getTrainer()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.