org.encog.engine.network.flat
Class FlatNetworkRBF
java.lang.Object
org.encog.engine.network.flat.FlatNetwork
org.encog.engine.network.flat.FlatNetworkRBF
- All Implemented Interfaces:
- Serializable, EngineMachineLearning, EngineNeuralNetwork
public class FlatNetworkRBF
- extends FlatNetwork
- implements Serializable
A flat network designed to handle an RBF.
- See Also:
- Serialized Form
|
Method Summary |
FlatNetworkRBF |
clone()
Clone the network. |
void |
compute(double[] x,
double[] output)
Calculate the output for the given input. |
| Methods inherited from class org.encog.engine.network.flat.FlatNetwork |
calculateError, clearConnectionLimit, clearContext, cloneFlatNetwork, computeLayer, decodeNetwork, encodeNetwork, getActivationFunctions, getBeginTraining, getConnectionLimit, getContextTargetOffset, getContextTargetSize, getEncodeLength, getEndTraining, getInputCount, getLayerCounts, getLayerFeedCounts, getLayerIndex, getLayerOutput, getNeuronCount, getOutputCount, getWeightIndex, getWeights, hasSameActivationFunction, init, isLimited, randomize, randomize, setBeginTraining, setConnectionLimit, setEndTraining |
FlatNetworkRBF
public FlatNetworkRBF()
- Default constructor.
FlatNetworkRBF
public FlatNetworkRBF(int inputCount,
int hiddenCount,
int outputCount,
RadialBasisFunction[] rbf)
- Construct an RBF flat network.
- Parameters:
inputCount - The number of input neurons. (also the number of dimensions)hiddenCount - The number of hidden neurons.outputCount - The number of output neurons.center - The centers.radius - The radii.
clone
public FlatNetworkRBF clone()
- Clone the network.
- Overrides:
clone in class FlatNetwork
- Returns:
- A clone of the network.
compute
public void compute(double[] x,
double[] output)
- Calculate the output for the given input.
- Specified by:
compute in interface EngineMachineLearning- Overrides:
compute in class FlatNetwork
- Parameters:
x - The input.output - Output will be placed here.
Copyright © 2011. All Rights Reserved.