|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.data.neural.Architecture
public class Architecture
This class represents the general architecture of a neural network and specifies how much layers, neurons constitute the neural network.
Constructor Summary | |
---|---|
Architecture()
Constructs a new empty architecture. |
|
Architecture(int nrInputNeurons,
int nrHiddenLayers,
int nrHiddenNeurons,
int nrOutputNeurons)
Constructs a new architecture. |
Method Summary | |
---|---|
int |
getNrHiddenLayers()
|
int |
getNrHiddenNeurons()
Returns the overall number of hidden neurons in the architecture. |
int |
getNrInputNeurons()
Returns the number of input neurons. |
int |
getNrOutputNeurons()
Returns the number of output neurons. |
void |
setNrHiddenLayers(int nrHiddenLayers)
Sets the number of hidden layers. |
void |
setNrHiddenNeurons(int nrHiddenNeurons)
Sets the overall number of hidden neurons. |
void |
setNrInputNeurons(int nrInputNeurons)
Sets the number of input neurons. |
void |
setNrOutputNeurons(int nrOutputNeurons)
Sets the number of output neurons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Architecture(int nrInputNeurons, int nrHiddenLayers, int nrHiddenNeurons, int nrOutputNeurons)
nrInputNeurons
- number of input neuronsnrHiddenLayers
- number of hidden layersnrHiddenNeurons
- number of hidden neuronsnrOutputNeurons
- number of output neuronspublic Architecture()
Method Detail |
---|
public int getNrInputNeurons()
public void setNrInputNeurons(int nrInputNeurons)
nrInputNeurons
- number of input neuronspublic int getNrHiddenLayers()
public void setNrHiddenLayers(int nrHiddenLayers)
nrHiddenLayers
- number of hidden layerspublic int getNrHiddenNeurons()
public void setNrHiddenNeurons(int nrHiddenNeurons)
nrHiddenNeurons
- number of hidden neuronspublic int getNrOutputNeurons()
public void setNrOutputNeurons(int nrOutputNeurons)
nrOutputNeurons
- number of output neurons
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |