C# Class NeuralNetworks.Neuron

Mostrar archivo Open project: hemanthk119/NeuralNetworks Class Usage Examples

Public Properties

Property Type Description
Index int

Public Methods

Method Description
Activate ( double input ) : double
AddConnection ( Neuron neuron, bool to, double weight ) : void
CalculateValue ( ) : double
Neuron ( int index, Layer initLayer, Neuron actType = ActivationType.SIGMOID, double bias ) : System

Method Details

Activate() public method

public Activate ( double input ) : double
input double
return double

AddConnection() public method

public AddConnection ( Neuron neuron, bool to, double weight ) : void
neuron Neuron
to bool
weight double
return void

CalculateValue() public method

public CalculateValue ( ) : double
return double

Neuron() public method

public Neuron ( int index, Layer initLayer, Neuron actType = ActivationType.SIGMOID, double bias ) : System
index int
initLayer Layer
actType Neuron
bias double
return System

Property Details

Index public_oe property

public int Index
return int