org.neuroph.core.input
Class WeightedSum
- java.lang.Object
-
- org.neuroph.core.input.InputFunction
-
- org.neuroph.core.input.WeightedSum
-
- All Implemented Interfaces:
- java.io.Serializable
public class WeightedSum extends InputFunction
Optimized version of weighted input function- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description WeightedSum()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static 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 static double[] getOutput(double[] inputs, double[] weights)
-
-
DMelt 3.0 © DataMelt by jWork.ORG