public class StochasticGradientDescent extends BaseOptimizer
accumulator, computationGraphUpdater, conf, GRADIENT_KEY, lineMaximizer, log, model, oldScore, PARAMS_KEY, score, SCORE_KEY, SEARCH_DIR, searchState, step, stepFunction, stepMax, trainingListeners, updater| Constructor and Description |
|---|
StochasticGradientDescent(NeuralNetConfiguration conf,
StepFunction stepFunction,
Collection<TrainingListener> trainingListeners,
Model model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
optimize(LayerWorkspaceMgr workspaceMgr)
Optimize call.
|
void |
postStep(INDArray gradient)
Post step to update searchDirection with new gradient and parameter information
|
void |
preProcessLine()
Pre preProcess to setup initial searchDirection approximation
|
applyConstraints, batchSize, getComputationGraphUpdater, getComputationGraphUpdater, getConf, getDefaultStepFunctionForOptimizer, getEpochCount, getGradientsAccumulator, getIterationCount, getUpdater, getUpdater, gradientAndScore, incrementIterationCount, postFirstStep, score, setBatchSize, setGradientsAccumulator, setListeners, setUpdater, setUpdaterComputationGraph, setupSearchState, updateGradientAccordingToParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStepFunctionpublic StochasticGradientDescent(NeuralNetConfiguration conf, StepFunction stepFunction, Collection<TrainingListener> trainingListeners, Model model)
public boolean optimize(LayerWorkspaceMgr workspaceMgr)
BaseOptimizeroptimize in interface ConvexOptimizeroptimize in class BaseOptimizerpublic void preProcessLine()
BaseOptimizerpreProcessLine in interface ConvexOptimizerpreProcessLine in class BaseOptimizerpublic void postStep(INDArray gradient)
BaseOptimizerpostStep in interface ConvexOptimizerpostStep in class BaseOptimizerCopyright © 2020. All rights reserved.