Class Neuron

This class represents a neuron of a neural net's neuron layer.

public class Neuron



Instantiated by



public Neuron ()


void activateSigmoid ()

Performs a sigmoid activation on a neuron's input and computes its output.


void computeOutputError ( float targetValue )

Computes the output error of a neuron in an output neuron layer by comparing the neuron's current output with the targetValue.


float getInput ()

Returns the input value of a neuron.


float getOutput ()

Returns the output value of a neuron.


float getOutputError ()

Returns the output error value of a neuron.


void init ( float input )

Initializes a neuron with an input value.

Neural Net Components in an Object Oriented Class Structure