Neuron Net
Public Member Functions | Public Attributes | List of all members
CConnection Class Reference

Class of connection to anothe neuron. More...

Inheritance diagram for CConnection:

Public Member Functions

 CConnection (double w)
 Constructor. More...
 
 ~CConnection ()
 Destructor. More...
 
virtual bool Save (int const file_handle)
 Save method. More...
 
virtual bool Load (int const file_handle)
 Load method. More...
 
virtual int Type (void) const
 Identificator of class. More...
 

Public Attributes

double weight
 Current weight. More...
 
double deltaWeight
 last delta of weight used in SGD optimization More...
 
double mt
 First moment in Adam optimization. More...
 
double vt
 Second moment in Adam optimization. More...
 

Detailed Description

Class of connection to anothe neuron.

Detailed description on the link.

Definition at line 311 of file NeuroNet.mqh.

Constructor & Destructor Documentation

◆ CConnection()

CConnection::CConnection ( double  w)
inline

Constructor.

Parameters
[in]winitial weight

Definition at line 319 of file NeuroNet.mqh.

◆ ~CConnection()

CConnection::~CConnection ( )
inline

Destructor.

Definition at line 320 of file NeuroNet.mqh.

Member Function Documentation

◆ Load()

bool CConnection::Load ( int const  file_handle)
virtual

Load method.

Parameters
[in]file_handlehandle of file
Returns
logical result of operation

Definition at line 348 of file NeuroNet.mqh.

◆ Save()

bool CConnection::Save ( int const  file_handle)
virtual

Save method.

Parameters
[in]file_handlehandle of file
Returns
logical result of operation

Definition at line 329 of file NeuroNet.mqh.

◆ Type()

virtual int CConnection::Type ( void  ) const
inlinevirtual

Identificator of class.

Returns
Type of class

Definition at line 324 of file NeuroNet.mqh.

Member Data Documentation

◆ deltaWeight

double CConnection::deltaWeight

last delta of weight used in SGD optimization

Definition at line 315 of file NeuroNet.mqh.

◆ mt

double CConnection::mt

First moment in Adam optimization.

Definition at line 316 of file NeuroNet.mqh.

◆ vt

double CConnection::vt

Second moment in Adam optimization.

Definition at line 317 of file NeuroNet.mqh.

◆ weight

double CConnection::weight

Current weight.

Definition at line 314 of file NeuroNet.mqh.


The documentation for this class was generated from the following file: