org.neuroph.core.input
Class Difference
java.lang.Object
org.neuroph.core.input.InputFunction
org.neuroph.core.input.Difference
- All Implemented Interfaces:
- Serializable
public class Difference
- extends InputFunction
- implements Serializable
Performs the vector difference operation on input and
weight vector.
- Author:
- Zoran Sevarac
- See Also:
- Serialized Form
Method Summary |
double |
getOutput(Connection[] inputConnections)
Returns ouput value of this input function for the given neuron inputs |
double[] |
getOutput(double[] inputs,
double[] weights)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Difference
public Difference()
getOutput
public double getOutput(Connection[] inputConnections)
- Description copied from class:
InputFunction
- Returns ouput value of this input function for the given neuron inputs
- Specified by:
getOutput
in class InputFunction
- Parameters:
inputConnections
- neuron's input connections
- Returns:
- input total net input
getOutput
public double[] getOutput(double[] inputs,
double[] weights)
Copyright © 2012. All Rights Reserved.