org.encog.mathutil.matrices.hessian
public class ChainRuleWorker extends Object implements EngineTask
| Constructor and Description |
|---|
ChainRuleWorker(FlatNetwork theNetwork,
MLDataSet theTraining,
int theLow,
int theHigh)
Construct the chain rule worker.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getDerivative() |
double |
getError() |
double[] |
getGradients() |
double[][] |
getHessian() |
FlatNetwork |
getNetwork() |
int |
getOutputNeuron() |
void |
run()
The task to perform.
|
void |
setOutputNeuron(int outputNeuron) |
public ChainRuleWorker(FlatNetwork theNetwork, MLDataSet theTraining, int theLow, int theHigh)
theNetwork - The network to calculate a Hessian for.theTraining - The training data.theLow - The low range.theHigh - The high range.public void run()
run in interface EngineTaskpublic int getOutputNeuron()
public void setOutputNeuron(int outputNeuron)
outputNeuron - the outputNeuron to setpublic double[] getDerivative()
public double[] getGradients()
public double getError()
public FlatNetwork getNetwork()
public double[][] getHessian()
Copyright © 2014. All Rights Reserved.