Property | Type | Description | |
---|---|---|---|
inputsCount | int | ||
output | double | ||
rand | IRandomNumberGenerator |
||
weights | double[] |
Method | Description | |
---|---|---|
Compute ( double input ) : double |
Computes output value of neuron. The actual neuron's output value is determined by inherited class. The output value is also stored in Output property. |
|
Randomize ( ) : void |
Randomize neuron. Initialize neuron's weights with random values specified by the RandGenerator. |
Method | Description | |
---|---|---|
Neuron ( int inputs ) : System |
Initializes a new instance of the Neuron class. The new neuron will be randomized (see Randomize method) after it is created. |
public abstract Compute ( double input ) : double | ||
input | double | Input vector. |
return | double |
protected Neuron ( int inputs ) : System | ||
inputs | int | Neuron's inputs count. |
return | System |