public class IndependentDimensionApproximator extends java.lang.Object implements LinearApproximator
Modifier and Type | Class and Description |
---|---|
static class |
IndependentDimensionApproximator.EncoderFactory
A VectorGenerator for use with IndependentDimensionApproximator as an encoder factory.
|
static class |
IndependentDimensionApproximator.EvalPointFactory
A VectorGenerator for use with IndependentDimensionApproximator as an evaluation point factory.
|
static class |
IndependentDimensionApproximator.Factory
Factory for IndependentDimensionApproximators.
|
Constructor and Description |
---|
IndependentDimensionApproximator(float[] evaluationPoints,
float[][] values,
int[] dimensions,
int dimension,
Function costFunction,
float noise) |
Modifier and Type | Method and Description |
---|---|
LinearApproximator |
clone() |
float[] |
findCoefficients(Function target)
Note: more information is needed than the arguments provide (for example
the functions that are to be combined to estimate the target).
|
float[][] |
getEvalPoints() |
float[][] |
getValues() |
public IndependentDimensionApproximator(float[] evaluationPoints, float[][] values, int[] dimensions, int dimension, Function costFunction, float noise)
evaluationPoints
- Points of evaluation of source functions, in the dimension along which they varyvalues
- Values of each source function at each pointdimensions
- The dimension along which each function variesdimension
- Dimension of the space from which source functions mapcostFunction
- As in WeightedCostApproximator, but in dimension along which functions varynoise
- Proportion of noise to addpublic float[][] getEvalPoints()
getEvalPoints
in interface LinearApproximator
LinearApproximator.getEvalPoints()
public float[][] getValues()
getValues
in interface LinearApproximator
LinearApproximator.getValues()
public float[] findCoefficients(Function target)
LinearApproximator
findCoefficients
in interface LinearApproximator
target
- Function to approximateLinearApproximator.findCoefficients(ca.nengo.math.Function)
public LinearApproximator clone() throws java.lang.CloneNotSupportedException
clone
in interface LinearApproximator
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if clone can't be made