public static class GradientDescentApproximator.Factory extends java.lang.Object implements ApproximatorFactory
Constructor and Description |
---|
GradientDescentApproximator.Factory(GradientDescentApproximator.Constraints constraints,
boolean ignoreBias) |
Modifier and Type | Method and Description |
---|---|
ApproximatorFactory |
clone() |
LinearApproximator |
getApproximator(float[][] evalPoints,
float[][] values) |
public GradientDescentApproximator.Factory(GradientDescentApproximator.Constraints constraints, boolean ignoreBias)
constraints
- As in GradientDescentApproximator constructorignoreBias
- As in GradientDescentApproximator constructorpublic LinearApproximator getApproximator(float[][] evalPoints, float[][] values)
getApproximator
in interface ApproximatorFactory
evalPoints
- Points at which component functions are evaluated. These should
usually be uniformly distributed, because the sum of error at these points is
treated as an integral over the domain of interest.values
- The values of component functions at the evalPoints. The first dimension
makes up the list of functions, and the second the values of these functions at each
evaluation point.ApproximatorFactory.getApproximator(float[][], float[][])
public ApproximatorFactory clone() throws java.lang.CloneNotSupportedException
clone
in interface ApproximatorFactory
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if clone can't be made