TRF Language Model
trf::LearningRate Class Reference

#include <trf-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 171 of file trf-sa-train.h.

Constructor & Destructor Documentation

§ LearningRate()

trf::LearningRate::LearningRate ( )
inline

Definition at line 178 of file trf-sa-train.h.

Member Function Documentation

§ Get()

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

input the iteration number, get the learning rate

Definition at line 537 of file trf-sa-train.cpp.

§ Reset()

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

Definition at line 531 of file trf-sa-train.cpp.

Member Data Documentation

§ beta

double trf::LearningRate::beta

Definition at line 174 of file trf-sa-train.h.

§ t0

double trf::LearningRate::t0

Definition at line 176 of file trf-sa-train.h.

§ tc

double trf::LearningRate::tc

Definition at line 175 of file trf-sa-train.h.


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