classifier.nn
Class Neuron
java.lang.Object
classifier.nn.Node
classifier.nn.Neuron
- All Implemented Interfaces:
- NetworkComponent, java.io.Serializable
- public class Neuron
- extends Node
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Neuron
public Neuron(int layer,
int num,
activationFunction actFunc)
getBias
public java.lang.Integer getBias()
setInput
public void setInput(java.lang.Object input)
- Specified by:
setInput in class Node
getOutput
public java.lang.Object getOutput()
- Specified by:
getOutput in class Node
setBiasWeight
public void setBiasWeight(double w)
getBiasWeight
public double getBiasWeight()
addLinkFrom
public void addLinkFrom(Network net,
int layer,
int numNode,
double weight)
getNumLinks
public int getNumLinks()
getLinkFrom
public LinkFrom getLinkFrom(int i)
removeLinkFrom
public void removeLinkFrom(Network net,
int numLink)