public interface LinearApproximator
extends java.io.Serializable, java.lang.Cloneable
Finds coefficients on a set of functions so that their linear combination approximates a target Function. In other words, finds a_i so that sum(a_i * f_i(x)) roughly equals t(x) in some sense, where f_i are the functions to be combined and t is a target function, both over some range of the variable x.
Can be used to find decoding vectors and synaptic weights.
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() |
float[] findCoefficients(Function target)
target
- Function to approximateLinearApproximator clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- if clone can't be madefloat[][] getEvalPoints()
float[][] getValues()