Documentation of 'org.neuroph.core.learning.LearningRule' Java class
LearningRule
org.neuroph.core.learning

Class LearningRule

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    HopfieldLearning, IterativeLearning, KohonenLearning


    public abstract class LearningRule
    extends java.lang.Object
    implements java.io.Serializable
    Base class for all neural network learning algorithms. It provides the general principles for training neural network.
    See Also:
    Serialized Form
    • Constructor Detail

      • LearningRule

        public LearningRule()
        Creates new instance of learning rule
    • Method Detail

      • setTrainingSet

        public void setTrainingSet(DataSet trainingSet)
        Sets training set for this learning rule
        Parameters:
        trainingSet - training set for this learning rule
      • getTrainingSet

        public DataSet getTrainingSet()
        Gets training set
        Returns:
        training set
      • getNeuralNetwork

        public NeuralNetwork getNeuralNetwork()
        Gets neural network
        Returns:
        neural network
      • setNeuralNetwork

        public void setNeuralNetwork(NeuralNetwork neuralNetwork)
        Sets neural network for this learning rule
        Parameters:
        neuralNetwork - neural network for this learning rule
      • stopLearning

        public void stopLearning()
        Stops learning
      • isStopped

        public boolean isStopped()
        Returns true if learning has stopped, false otherwise
        Returns:
        true if learning has stopped, false otherwise
      • learn

        public abstract void learn(DataSet trainingSet)
        Override this method to implement specific learning procedures
        Parameters:
        trainingSet - training set

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.