Package com.googlecode.fannj
Class Neuron
java.lang.Object
com.googlecode.fannj.Neuron
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNeuron()
Create a neuron with default activation function: FANN_SIGMOID_STEPWISE and activation steepness = .5Neuron
(ActivationFunction activationFunction) Create a neuron with the specified activation function and default activation steepness = .5Neuron
(ActivationFunction activationFunction, float steepness) Create a neuron with the specified activation function and steepness. -
Method Summary
-
Field Details
-
DEFAULT_ACTIVATION_FUNCTION
-
DEFAULT_ACTIVATION_STEEPNESS
public static final float DEFAULT_ACTIVATION_STEEPNESS- See Also:
-
-
Constructor Details
-
Neuron
public Neuron()Create a neuron with default activation function: FANN_SIGMOID_STEPWISE and activation steepness = .5 -
Neuron
Create a neuron with the specified activation function and default activation steepness = .5- Parameters:
activationFunction
-
-
Neuron
Create a neuron with the specified activation function and steepness.- Parameters:
activationFunction
-steepness
-
-
-
Method Details