classifier.nn
Class NeuronLayer

java.lang.Object
  extended byclassifier.nn.Layer
      extended byclassifier.nn.NeuronLayer
All Implemented Interfaces:
NetworkComponent, java.io.Serializable

public class NeuronLayer
extends Layer
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
NeuronLayer(int num, int numNeuron, activationFunction actFunc)
           
 
Method Summary
 void addNode(activationFunction actFunc)
           
 Node getNode(int numNeuron)
           
 int getNumNode()
           
 void removeNode(int numNode)
           
 
Methods inherited from class classifier.nn.Layer
getNum, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeuronLayer

public NeuronLayer(int num,
                   int numNeuron,
                   activationFunction actFunc)
Method Detail

getNode

public Node getNode(int numNeuron)
Specified by:
getNode in class Layer

addNode

public void addNode(activationFunction actFunc)

removeNode

public void removeNode(int numNode)

getNumNode

public int getNumNode()
Specified by:
getNumNode in class Layer