public class ConjugateGradient 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 |
|---|
ConjugateGradient(NeuralNetConfiguration conf,
StepFunction stepFunction,
Collection<TrainingListener> trainingListeners,
Model model) |
| Modifier and Type | Method and Description |
|---|---|
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, optimize, postFirstStep, score, setBatchSize, setGradientsAccumulator, setListeners, setUpdater, setUpdaterComputationGraph, setupSearchState, updateGradientAccordingToParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStepFunctionpublic ConjugateGradient(NeuralNetConfiguration conf, StepFunction stepFunction, Collection<TrainingListener> trainingListeners, Model model)
public void preProcessLine()
BaseOptimizerpreProcessLine in interface ConvexOptimizerpreProcessLine in class BaseOptimizerpublic void postStep(INDArray gradient)
BaseOptimizerpostStep in interface ConvexOptimizerpostStep in class BaseOptimizerCopyright © 2020. All rights reserved.