public class GaussianRBF extends RBF
| Modifier and Type | Field and Description |
|---|---|
protected double |
epsilon
The bandwidth parameter.
|
centeredState, metric| Constructor and Description |
|---|
GaussianRBF(State centerdState,
DistanceMetric metric,
double epsilon)
Initializes with a center state, a distance metric and a bandwidth parameter.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<RBF> |
generateGaussianRBFsForStates(java.util.List<State> states,
DistanceMetric metric,
double epsilon)
Creates a
List of GaussianRBF units
for each State provided using the given metric and epsilon value. |
double |
responseFor(State input)
Returns a response value to an input state that is a function of the distance between the input and this unit's center state.
|
protected double epsilon
public GaussianRBF(State centerdState, DistanceMetric metric, double epsilon)
centerdState - the center state of this RBF unit.metric - the distance metric to use.epsilon - the bandwidth parameter.public double responseFor(State input)
RBFresponseFor in class RBFinput - the input state for which a response value is returned.public static java.util.List<RBF> generateGaussianRBFsForStates(java.util.List<State> states, DistanceMetric metric, double epsilon)
List of GaussianRBF units
for each State provided using the given metric and epsilon value.states - the State objects around which a GaussianRBF will be createdmetric - the DistanceMetric to useepsilon - the bandwidth parameter.List of GaussianRBF units.