org.encog.neural.freeform
Interface InputSummation
-
- All Known Implementing Classes:
- BasicActivationSummation
public interface InputSummationSpecifies how the inputs to a neuron are to be summed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidadd(FreeformConnection connection)Add an input connection.doublecalculate()Perform the summation, and apply the activation function.ActivationFunctiongetActivationFunction()doublegetSum()java.util.List<FreeformConnection>list()
-
-
-
Method Detail
-
add
void add(FreeformConnection connection)
Add an input connection.- Parameters:
connection- The connection to add.
-
calculate
double calculate()
Perform the summation, and apply the activation function.- Returns:
- The sum.
-
getActivationFunction
ActivationFunction getActivationFunction()
- Returns:
- The activation function
-
getSum
double getSum()
- Returns:
- The preactivation sum.
-
list
java.util.List<FreeformConnection> list()
- Returns:
- The input connections.
-
-
DMelt 3.0 © DataMelt by jWork.ORG