Documentation of 'org.joone.engine.learning.ComparingElement' Java class
ComparingElement
org.joone.engine.learning

Interface ComparingElement

  • All Superinterfaces:
    NeuralElement, OutputPatternListener, java.io.Serializable
    All Known Implementing Classes:
    ComparingSynapse, TeachingSynapse


    public interface ComparingElement
    extends OutputPatternListener, java.io.Serializable
    This interface describes an element that can compare the output of the layer to which it is connected, with another input derivating from a StreamInputSynapse named 'desired'. To elaborate the result of the comparison, attach to its output a whatever component implementing the OutputPatternListener interface. (use addResultSynapse to do it). Its main purpose is to describe the interface of a component used to teach the neural network, but it can be used whenever it's necessary to compare two patterns.
    • Method Detail

      • setDesired

        boolean setDesired(StreamInputSynapse desired)
        Setter for the desired data set
      • addResultSynapse

        boolean addResultSynapse(OutputPatternListener listener)
        Adds an output synapse to which the result must be sent
      • removeResultSynapse

        void removeResultSynapse(OutputPatternListener listener)
        Removes an output synapse
      • getTheLinearLayer

        LinearLayer getTheLinearLayer()
        Returns the internal Layer used to transport the result to the connected output synapse
      • resetInput

        void resetInput()
        Resets the internal buffer of the desired StreamInputSynapse

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.