TRF Language Model
hrf::LearningRate Class Reference

#include <hrf-sa-train.h>

Public Member Functions

 LearningRate ()
 
void Reset (const char *pstr, int p_t0)
 
double Get (int t)
 input the iteration number, get the learning rate More...
 

Public Attributes

double beta
 
double tc
 
double t0
 

Detailed Description

Definition at line 208 of file hrf-sa-train.h.

Constructor & Destructor Documentation

§ LearningRate()

hrf::LearningRate::LearningRate ( )
inline

Definition at line 215 of file hrf-sa-train.h.

Member Function Documentation

§ Get()

double hrf::LearningRate::Get ( int  t)

input the iteration number, get the learning rate

Definition at line 1002 of file hrf-sa-train.cpp.

§ Reset()

void hrf::LearningRate::Reset ( const char *  pstr,
int  p_t0 
)

Definition at line 996 of file hrf-sa-train.cpp.

Member Data Documentation

§ beta

double hrf::LearningRate::beta

Definition at line 211 of file hrf-sa-train.h.

§ t0

double hrf::LearningRate::t0

Definition at line 213 of file hrf-sa-train.h.

§ tc

double hrf::LearningRate::tc

Definition at line 212 of file hrf-sa-train.h.


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