|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.data.neural.Layer
public abstract class Layer
An abstract class defining a layer in a Neural Network.
Constructor Summary | |
---|---|
Layer()
Used to construct an empty layer which cannot be used unless perceptrons are set. |
|
Layer(Perceptron[] perceptrons)
Constructs a layer with given perceptrons. |
Method Summary | |
---|---|
Perceptron |
getPerceptron(int i)
Returns perceptron at a given position. |
Perceptron[] |
getPerceptrons()
Returns all perceptrons in the layer. |
void |
setPerceptron(int i,
Perceptron perceptron)
Sets perceptron at a given position. |
void |
setPerceptrons(Perceptron[] perceptrons)
Sets all perceptrons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Layer(Perceptron[] perceptrons)
perceptrons
- perceptrons for this layerpublic Layer()
Method Detail |
---|
public Perceptron[] getPerceptrons()
public Perceptron getPerceptron(int i)
i
- position
i
public void setPerceptrons(Perceptron[] perceptrons)
perceptrons
- new perceptrons for the layerpublic void setPerceptron(int i, Perceptron perceptron)
i
- positionperceptron
- new perceptron for position i
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |