|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saaps.network.Network
The Network class consist of one or several Layer objects.
Field Summary | |
private Layer[] |
layer
|
private Jama.Matrix |
output
|
Constructor Summary | |
Network(Jama.Matrix w1,
Jama.Matrix b1)
Construct a one-layer network using the default activation function (TANSIG). |
|
Network(Jama.Matrix w1,
Jama.Matrix b1,
int f1)
Construct a one-layer network. |
|
Network(Jama.Matrix w1,
Jama.Matrix b1,
int f1,
Jama.Matrix w2,
Jama.Matrix b2,
int f2)
Construct a two-layer network. |
|
Network(Jama.Matrix w1,
Jama.Matrix b1,
Jama.Matrix w2,
Jama.Matrix b2)
Construct a two-layer network using the default activation function (TANSIG). |
|
Network(NetworkParam np)
Construct a network from a NetworkParam object. |
Method Summary | |
Jama.Matrix |
getOutput()
Get the output from the network. |
Jama.Matrix |
sim(Jama.Matrix input)
Run the network from an input matrix. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Layer[] layer
private Jama.Matrix output
Constructor Detail |
public Network(NetworkParam np)
np
- the NetworkParam objectpublic Network(Jama.Matrix w1, Jama.Matrix b1, int f1)
May be removed in the future.
w1
- weightsb1
- biasf1
- activation functionpublic Network(Jama.Matrix w1, Jama.Matrix b1)
May be removed in the future.
w1
- weightsb1
- biaspublic Network(Jama.Matrix w1, Jama.Matrix b1, int f1, Jama.Matrix w2, Jama.Matrix b2, int f2)
May be removed in the future.
w1
- layer one weightsb1
- layer one biasf1
- layer one activation functionw2
- layer two weightsb2
- layer two biasf2
- layer two activation functionpublic Network(Jama.Matrix w1, Jama.Matrix b1, Jama.Matrix w2, Jama.Matrix b2)
May be removed in the future.
w1
- layer one weightsb1
- layer one biasw2
- layer two weightsb2
- layer two biasMethod Detail |
public Jama.Matrix sim(Jama.Matrix input)
input
- the input matrixpublic Jama.Matrix getOutput()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |