org.neuroph.nnet.learning
Class CompetitiveLearning
- java.lang.Object
-
- org.neuroph.core.learning.LearningRule
-
- org.neuroph.core.learning.IterativeLearning
-
- org.neuroph.core.learning.UnsupervisedLearning
-
- org.neuroph.nnet.learning.CompetitiveLearning
-
- All Implemented Interfaces:
- java.io.Serializable
public class CompetitiveLearning extends UnsupervisedLearning
Competitive learning rule.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description CompetitiveLearning()Creates new instance of CompetitiveLearning
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddoLearningEpoch(DataSet trainingSet)This method does one learning epoch for the unsupervised learning rules.-
Methods inherited from class org.neuroph.core.learning.IterativeLearning
doOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations
-
Methods inherited from class org.neuroph.core.learning.LearningRule
addListener, getNeuralNetwork, getTrainingSet, isStopped, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
-
-
-
-
Constructor Detail
-
CompetitiveLearning
public CompetitiveLearning()
Creates new instance of CompetitiveLearning
-
-
Method Detail
-
doLearningEpoch
public void doLearningEpoch(DataSet trainingSet)
This method does one learning epoch for the unsupervised learning rules. It iterates through the training set and trains network weights for each element. Stops learning after one epoch.- Overrides:
doLearningEpochin classUnsupervisedLearning- Parameters:
trainingSet- training set for training network
-
-
DMelt 3.0 © DataMelt by jWork.ORG