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, updateHessian
public void init(BasicNetwork theNetwork, MLDataSet theTraining)
init
in interface ComputeHessian
init
in class BasicHessian
theNetwork
- The neural network to train.theTraining
- The training set to train with.public void compute()
compute
in interface ComputeHessian
public final void setThreadCount(int numThreads)
setThreadCount
in interface MultiThreadable
numThreads
- The number of threads.public int getThreadCount()
getThreadCount
in interface MultiThreadable
Copyright © 2014. All Rights Reserved.