org.knime.base.data.neural
Class Architecture

java.lang.Object
  extended by org.knime.base.data.neural.Architecture

public class Architecture
extends Object

This class represents the general architecture of a neural network and specifies how much layers, neurons constitute the neural network.

Author:
Nicolas Cebron, University of Konstanz

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

Architecture

public Architecture(int nrInputNeurons,
                    int nrHiddenLayers,
                    int nrHiddenNeurons,
                    int nrOutputNeurons)
Constructs a new architecture.

Parameters:
nrInputNeurons - number of input neurons
nrHiddenLayers - number of hidden layers
nrHiddenNeurons - number of hidden neurons
nrOutputNeurons - number of output neurons

Architecture

public Architecture()
Constructs a new empty architecture.

Method Detail

getNrInputNeurons

public int getNrInputNeurons()
Returns the number of input neurons.

Returns:
number of input neurons

setNrInputNeurons

public void setNrInputNeurons(int nrInputNeurons)
Sets the number of input neurons.

Parameters:
nrInputNeurons - number of input neurons

getNrHiddenLayers

public int getNrHiddenLayers()
Returns:
number of hidden layers

setNrHiddenLayers

public void setNrHiddenLayers(int nrHiddenLayers)
Sets the number of hidden layers.

Parameters:
nrHiddenLayers - number of hidden layers

getNrHiddenNeurons

public int getNrHiddenNeurons()
Returns the overall number of hidden neurons in the architecture.

Returns:
number of hidden neurons

setNrHiddenNeurons

public void setNrHiddenNeurons(int nrHiddenNeurons)
Sets the overall number of hidden neurons.

Parameters:
nrHiddenNeurons - number of hidden neurons

getNrOutputNeurons

public int getNrOutputNeurons()
Returns the number of output neurons.

Returns:
number of output neurons

setNrOutputNeurons

public void setNrOutputNeurons(int nrOutputNeurons)
Sets the number of output neurons.

Parameters:
nrOutputNeurons - number of output neurons


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.