yawn.nn.appart
Class PredictionLayer

java.lang.Object
  extended by yawn.nn.Layer
      extended by yawn.nn.appart.PredictionLayer

public class PredictionLayer
extends Layer

A prediction (P) layer for AppART neural networks. $Id: PredictionLayer.java,v 1.8 2005/04/07 17:28:25 supermarti Exp $

Version:
$Revision: 1.8 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Field Summary
protected  java.util.ArrayList a
           
protected  PredictionNeuralNode b
           
 
Fields inherited from class yawn.nn.Layer
adapting, inputSize, nextLayer, units
 
Constructor Summary
PredictionLayer(int size, double e, OutputLayer l)
           
 
Method Summary
 PredictionNeuralNode[] getAUnits()
           
 PredictionNeuralNode getBUnit()
           
 NeuralNode[] getNodes()
           
 void learn(Pattern y)
           
 void propagateToNextLayer()
           
 void reset()
           
 void setInput(Pattern input)
           
 void setLearningRate(double lcte)
           
 int size()
           
 void updateWeightsStructure(Pattern y)
           
 
Methods inherited from class yawn.nn.Layer
connectWith, getActivations, getInputSize, isAdapting, output, setAdapting, setInputSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected java.util.ArrayList a

b

protected PredictionNeuralNode b
Constructor Detail

PredictionLayer

public PredictionLayer(int size,
                       double e,
                       OutputLayer l)
Parameters:
size - number of nodes in layer
e - eta
l - associated output layer
Method Detail

getAUnits

public PredictionNeuralNode[] getAUnits()

getBUnit

public PredictionNeuralNode getBUnit()

getNodes

public NeuralNode[] getNodes()
Overrides:
getNodes in class Layer

learn

public void learn(Pattern y)

propagateToNextLayer

public void propagateToNextLayer()
Overrides:
propagateToNextLayer in class Layer

reset

public void reset()
Overrides:
reset in class Layer

setInput

public void setInput(Pattern input)
Overrides:
setInput in class Layer

setLearningRate

public void setLearningRate(double lcte)

size

public int size()
Overrides:
size in class Layer

updateWeightsStructure

public void updateWeightsStructure(Pattern y)


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.