org.neuroph.core.input
Class Difference
- java.lang.Object
-
- org.neuroph.core.input.InputFunction
-
- org.neuroph.core.input.Difference
-
- All Implemented Interfaces:
- java.io.Serializable
public class Difference extends InputFunction implements java.io.Serializable
Performs the vector difference operation on input and weight vector.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Difference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double[]getOutput(double[] inputs, double[] weights)doublegetOutput(java.util.List<Connection> inputConnections)Returns ouput value of this input function for the given neuron inputs
-
-
-
Method Detail
-
getOutput
public double getOutput(java.util.List<Connection> inputConnections)
Description copied from class:InputFunctionReturns ouput value of this input function for the given neuron inputs- Specified by:
getOutputin classInputFunction- Parameters:
inputConnections- neuron's input connections- Returns:
- input total net input
-
getOutput
public double[] getOutput(double[] inputs, double[] weights)
-
-
DMelt 3.0 © DataMelt by jWork.ORG