|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.datamining.neural.Node com.imsl.datamining.neural.Perceptron
public class Perceptron
A Perceptron
node in a neural network.
Perceptrons
are created by factory methods in a Network Layer
.
Each Perceptron
has an activation function (g)
and a bias ().
The value of a Perceptron
is given by
,
where are the values of nodes
input to this Perceptron with weights .
Network training will use existing bias values for the starting values for the trainer. Upon completion of network training, the bias values are set to the values computed by the trainer.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Method Summary | |
---|---|
Activation |
getActivation()
Returns the activation function. |
double |
getBias()
Returns the bias for this Perceptron . |
void |
setActivation(Activation activation)
Sets the activation function. |
void |
setBias(double bias)
Sets the bias for this Perceptron . |
Methods inherited from class com.imsl.datamining.neural.Node |
---|
getLayer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Method Detail |
---|
public Activation getActivation()
Activation
object indicating the activation function.public double getBias()
Perceptron
.
double
representing the bias for this
Perceptron
.public void setActivation(Activation activation)
activation
- An Activation
object which represents the
activation g to be used by this Perceptron
.public void setBias(double bias)
Perceptron
.
bias
- A double
scalar value to which the bias
is to be set. The bias
has a default value of 0.
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |