public class WTMLearningFunctionWithTired extends WTMLearningFunction
functionalModel, learningData, maxIteration, metrics, neighbourhoodFunction, networkModel, topology| Constructor and Description |
|---|
WTMLearningFunctionWithTired(NetworkModel networkModel,
int maxIteration,
FunctionMetric metrics,
LearningDataModel learningData,
FunctionLearn functionalModel,
NeighbourhoodFunctionModel neighbourhoodFunction)
Creates a new instance of WTMLearningFunction
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeNeuronWeight(int neuronNumber,
double[] vector,
int iteration,
int distance)
Change neuron weights for specified neuron number, iteration, input data vector and distance
and distance to winning neuron.
|
protected int |
getBestNeuron(double[] vector)
Return number of best neuron for specified input vector.
|
changeNeuronWeight, changeWeight, getFunctionalModel, getLearningData, getMaxIteration, getMetrics, getNeighbourhoodFunction, getNetworkModel, learn, setFunctionalModel, setLearningData, setMaxIteration, setMetrics, setNeighboorhoodFunction, setNetworkModelpublic WTMLearningFunctionWithTired(NetworkModel networkModel, int maxIteration, FunctionMetric metrics, LearningDataModel learningData, FunctionLearn functionalModel, NeighbourhoodFunctionModel neighbourhoodFunction)
networkModel - reference to network ModelmaxIteration - max number of iterationmetrics - reference to metricslearningData - reference to learning datafunctionalModel - reference to functional ModelneighbourhoodFunction - reference to Neighbourhood Functionprotected int getBestNeuron(double[] vector)
throws java.lang.Exception
getBestNeuron in class WTMLearningFunctionvector - input vectorjava.lang.Exception - any error.protected void changeNeuronWeight(int neuronNumber,
double[] vector,
int iteration,
int distance)
throws java.lang.Exception
neuronNumber - neuron numbervector - input vectoriteration - iteration numberdistance - distance to winning neuronjava.lang.Exception - any error.