Свойство | Type | Description | |
---|---|---|---|
function | IActivationFunction | ||
threshold | double |
Méthode | Description | |
---|---|---|
ActivationNeuron ( int inputs, IActivationFunction function ) : System |
Initializes a new instance of the ActivationNeuron class.
|
|
Compute ( double input ) : double |
Computes output value of neuron. The output value of activation neuron is equal to value of nueron's activation function, which parameter is weighted sum of its inputs plus threshold value. The output value is also stored in |
|
Randomize ( ) : void |
Randomize neuron. Calls base class |
public ActivationNeuron ( int inputs, IActivationFunction function ) : System | ||
inputs | int | Neuron's inputs count. |
function | IActivationFunction | Neuron's activation function. |
Résultat | System |
public Compute ( double input ) : double | ||
input | double | Input vector. |
Résultat | double |