public abstract class RBF
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double[] |
centeredState
The center state of the RBF unit.
|
protected DistanceMetric |
metric
The distance metric to compare query input states to the centeredState
|
Constructor and Description |
---|
RBF(double[] centeredState,
DistanceMetric metric)
Initializes.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
responseFor(double[] input)
Returns the RBF response from its center state to the query input state.
|
protected double[] centeredState
protected DistanceMetric metric
public RBF(double[] centeredState, DistanceMetric metric)
centeredState
- the center state of the RBF unit.metric
- the distance metric to compare query input states to the centeredStatepublic abstract double responseFor(double[] input)
input
- the query input state represented with a double array.