C# Class xpidea.neuro.net.adaline.AdalineNode

Class implementing an Adaline node in the Adaline network.
Inheritance: FeedForwardNode
Mostrar archivo Open project: AlexCherkasov/Neuro.NET Class Usage Examples

Public Methods

Method Description
AdalineNode ( ) : System.IO

Initializes a new instance of the Adaline node.

AdalineNode ( double learningRate ) : System.IO

Initializes a new instance of the Adaline node and sets the xpidea.neuro.net.adaline.AdalineNode.LearningRate.

Learn ( ) : void

Overridden. Implements the Delta Rule to modify the link values.

This method gets executed only if the node produces incorrect output.

Protected Methods

Method Description
GetNodeLearningRate ( ) : double

Gets xpidea.neuro.net.adaline.AdalineNode.LearningRate of the node.

SetNodeLearningRate ( double learningRate ) : void

Sets xpidea.neuro.net.adaline.AdalineNode.LearningRate of the node.

Transfer ( double value ) : double

Overridden. Translates node output into network specific output. In case of Adaline network implements simple threshold function: Returns -1 if value less than 0, otherwise returns 1.

Method Details

AdalineNode() public method

Initializes a new instance of the Adaline node.
public AdalineNode ( ) : System.IO
return System.IO

AdalineNode() public method

Initializes a new instance of the Adaline node and sets the xpidea.neuro.net.adaline.AdalineNode.LearningRate.
public AdalineNode ( double learningRate ) : System.IO
learningRate double Usually in range from 0..1
return System.IO

GetNodeLearningRate() protected method

Gets xpidea.neuro.net.adaline.AdalineNode.LearningRate of the node.
protected GetNodeLearningRate ( ) : double
return double

Learn() public method

Overridden. Implements the Delta Rule to modify the link values.
This method gets executed only if the node produces incorrect output.
public Learn ( ) : void
return void

SetNodeLearningRate() protected method

Sets xpidea.neuro.net.adaline.AdalineNode.LearningRate of the node.
protected SetNodeLearningRate ( double learningRate ) : void
learningRate double Learnig rate value.
return void

Transfer() protected method

Overridden. Translates node output into network specific output. In case of Adaline network implements simple threshold function: Returns -1 if value less than 0, otherwise returns 1.
protected Transfer ( double value ) : double
value double Node value.
return double