public class WeightedSum extends InputFunction
Constructor and Description |
---|
WeightedSum() |
Modifier and Type | Method and Description |
---|---|
static double[] |
getOutput(double[] inputs,
double[] weights) |
double |
getOutput(List<Connection> inputConnections)
Returns ouput value of this input function for the given neuron inputs
|
public double getOutput(List<Connection> inputConnections)
InputFunction
getOutput
in class InputFunction
inputConnections
- neuron's input connectionspublic static double[] getOutput(double[] inputs, double[] weights)
Copyright © 2019 Neuroph Project. All rights reserved.