org.encog.mathutil.matrices.hessian
public class HessianCR extends BasicHessian implements MultiThreadable
flat, gradients, hessian, hessianMatrix, network, sse, training| Constructor and Description |
|---|
HessianCR() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Compute the Hessian.
|
int |
getThreadCount() |
void |
init(BasicNetwork theNetwork,
MLDataSet theTraining)
Init the class.
|
void |
setThreadCount(int numThreads)
Set the number of threads.
|
clear, getGradients, getHessian, getHessianMatrix, getSSE, updateHessianpublic void init(BasicNetwork theNetwork, MLDataSet theTraining)
init in interface ComputeHessianinit in class BasicHessiantheNetwork - The neural network to train.theTraining - The training set to train with.public void compute()
compute in interface ComputeHessianpublic final void setThreadCount(int numThreads)
setThreadCount in interface MultiThreadablenumThreads - The number of threads.public int getThreadCount()
getThreadCount in interface MultiThreadableCopyright © 2014. All Rights Reserved.