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

java.lang.Object
  extended by com.rapidminer.operator.learner.functions.neuralnet.ActivationFunction
      extended by com.rapidminer.operator.learner.functions.neuralnet.LinearFunction

public class LinearFunction
extends ActivationFunction

This function represents a linear activation function by calculating the identity function on the weighted sum. The linear activation function is usually used for the output layer of regression problems.

Author:
Ingo Mierswa

Constructor Summary
LinearFunction()
           
 
Method Summary
 double calculateError(InnerNode node, Example example)
          Calculates the error.
 double calculateValue(InnerNode node, Example example)
          Calculates the value.
 java.lang.String getTypeName()
          Delivers the name of this activation function.
 
Methods inherited from class com.rapidminer.operator.learner.functions.neuralnet.ActivationFunction
update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearFunction

public LinearFunction()
Method Detail

getTypeName

public java.lang.String getTypeName()
Description copied from class: ActivationFunction
Delivers the name of this activation function.

Specified by:
getTypeName in class ActivationFunction

calculateValue

public double calculateValue(InnerNode node,
                             Example example)
Description copied from class: ActivationFunction
Calculates the value.

Specified by:
calculateValue in class ActivationFunction

calculateError

public double calculateError(InnerNode node,
                             Example example)
Description copied from class: ActivationFunction
Calculates the error.

Specified by:
calculateError in class ActivationFunction


Copyright © 2001-2009 by Rapid-I