com.rapidminer.operator.learner.functions.neuralnet
Class InputNode

java.lang.Object
  extended by com.rapidminer.operator.learner.functions.neuralnet.Node
      extended by com.rapidminer.operator.learner.functions.neuralnet.InputNode
All Implemented Interfaces:
java.io.Serializable

public class InputNode
extends Node

The base node for reading the data from examples and feeding it into the neural net.

Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.rapidminer.operator.learner.functions.neuralnet.Node
currentError, currentValue, HIDDEN, INPUT, inputNodeOutputIndices, inputNodes, OUTPUT, outputNodeInputIndices, outputNodes
 
Constructor Summary
InputNode(java.lang.String nodeName)
           
 
Method Summary
 double calculateError(boolean shouldCalculate, Example example)
          Calculates the error for this node.
 double calculateValue(boolean shouldCalculate, Example example)
          Calculates the output for this node.
 Attribute getAttribute()
           
 double getAttributeBase()
           
 double getAttributeRange()
           
 double getCurrentValue()
           
 boolean isNormalize()
           
 void setAttribute(Attribute attribute, double attributeRange, double attributeBase, boolean normalize)
           
 
Methods inherited from class com.rapidminer.operator.learner.functions.neuralnet.Node
areWeightsUpdated, connect, connectInput, connectOutput, disconnect, disconnectInput, disconnectOutput, getInputNodeOutputIndices, getInputNodes, getLayerIndex, getNodeName, getNodeType, getOutputNodeInputIndices, getOutputNodes, getWeight, reset, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputNode

public InputNode(java.lang.String nodeName)
Method Detail

setAttribute

public void setAttribute(Attribute attribute,
                         double attributeRange,
                         double attributeBase,
                         boolean normalize)

calculateValue

public double calculateValue(boolean shouldCalculate,
                             Example example)
Description copied from class: Node
Calculates the output for this node.

Specified by:
calculateValue in class Node

calculateError

public double calculateError(boolean shouldCalculate,
                             Example example)
Description copied from class: Node
Calculates the error for this node.

Specified by:
calculateError in class Node

getAttribute

public Attribute getAttribute()

getAttributeRange

public double getAttributeRange()

getAttributeBase

public double getAttributeBase()

isNormalize

public boolean isNormalize()

getCurrentValue

public double getCurrentValue()


Copyright © 2001-2009 by Rapid-I