public class GradientDescent
extends java.lang.Object
Constructor and Description |
---|
GradientDescent() |
Modifier and Type | Method and Description |
---|---|
double[] |
optimize(double[] theta,
CostFunction costFunction) |
protected void |
postProcessWeights(double[] theta)
can be overwritten by sub-classes for normalization purposes
|
public double[] optimize(double[] theta, CostFunction costFunction)
protected void postProcessWeights(double[] theta)
theta
- weights to be normalized