|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.input.InputFunction
public class InputFunction
Neuron's input function. It has two subcomponents: weightsFunction - which performs operation with input and weight vector summingFunction - which performs operation with the resulting vector from weightsFunction InputFunction implements the following behaviour: output = summingFunction(weightsFunction(inputs)) Different neuron input functions can be created by setting different weights and summing functions.
WeightsFunction
,
SummingFunction
,
Neuron
,
Serialized FormConstructor Summary | |
---|---|
InputFunction()
Creates an instance of WeightedSum input function by default. |
|
InputFunction(WeightsFunction weightsFunction,
SummingFunction summingFunction)
Creates an instance of input function with specified weights and summing function |
Method Summary | |
---|---|
double |
getOutput(java.util.Vector<Connection> inputConnections)
Returns ouput value of this input function for the given neuron inputs |
SummingFunction |
getSummingFunction()
Returns summing function component of this InputFunction |
WeightsFunction |
getWeightsFunction()
Returns weights functioncomponent of this InputFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputFunction()
public InputFunction(WeightsFunction weightsFunction, SummingFunction summingFunction)
weightsFunction
- vector function performs some operation on input and weight
vectorsummingFunction
- scalar function transforms output from VectorFunction to
scalarMethod Detail |
---|
public double getOutput(java.util.Vector<Connection> inputConnections)
inputConnections
- neuron's input connections
public SummingFunction getSummingFunction()
public WeightsFunction getWeightsFunction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |