weka.classifiers.neural.singlelayerperceptron.algorithm
Class SLPAlgorithmAncestor

java.lang.Object
  extended by weka.classifiers.neural.common.CommonNeuralAlgorithmAncestor
      extended by weka.classifiers.neural.singlelayerperceptron.algorithm.SLPAlgorithmAncestor
All Implemented Interfaces:
java.io.Serializable, NeuralModel
Direct Known Subclasses:
PerceptronAlgorithm, WidrowHoffAlgorithm

public abstract class SLPAlgorithmAncestor
extends CommonNeuralAlgorithmAncestor

Title: Weka Neural Implementation

Description: ...

Copyright: Copyright (c) 2003

Company: N/A

Version:
1.0
Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
SLPAlgorithmAncestor(TransferFunction aTransfer, double aBiasInput, RandomWrapper aRand, LearningRateKernel aKernel, weka.core.Instances trainingInstances)
           
 
Method Summary
 void finishedEpoch(weka.core.Instances instances, double aLearningRate)
           
 double[] getAllWeights()
           
 double getLearningRate(int aEpochNumber)
           
 java.lang.String getModelInformation()
           
 double[] getNetworkOutputs(weka.core.Instance instance)
           
 int getNumOutputNeurons()
           
 void startingEpoch()
           
 void updateModel(weka.core.Instance inputs, double aLearningRate)
           
 
Methods inherited from class weka.classifiers.neural.common.CommonNeuralAlgorithmAncestor
getDistributionForInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLPAlgorithmAncestor

public SLPAlgorithmAncestor(TransferFunction aTransfer,
                            double aBiasInput,
                            RandomWrapper aRand,
                            LearningRateKernel aKernel,
                            weka.core.Instances trainingInstances)
Method Detail

getNumOutputNeurons

public int getNumOutputNeurons()

getAllWeights

public double[] getAllWeights()

getLearningRate

public double getLearningRate(int aEpochNumber)

startingEpoch

public void startingEpoch()

finishedEpoch

public void finishedEpoch(weka.core.Instances instances,
                          double aLearningRate)

getModelInformation

public java.lang.String getModelInformation()

updateModel

public void updateModel(weka.core.Instance inputs,
                        double aLearningRate)

getNetworkOutputs

public double[] getNetworkOutputs(weka.core.Instance instance)