This class measures the negative log likelihood.
Inheritance:
Public Fields
-
real* erreur
- contains the average negative log likelihood
-
real* erreur_c
- contains the total negative log likelihood
-
List* inputs
- contains a pointer to the negative log likelihood to measure
-
int tot_n_frames
- local counter of the total number of frames
-
SeqDataSet* sdata
- local pointer to the dataset, used to count the number of frames
Public Methods
-
NllMeasurer(List* inputs_, SeqDataSet* data_, FILE* file_)
-
NllMeasurer(List* inputs_, SeqDataSet* data_, const char* filename)
Public Fields
-
void* measure
-
FILE* file
-
DataSet* data
Public Methods
-
virtual void measureEx()
-
virtual void measureIter()
-
virtual void measureEnd()
Inherited from Object:
Public Methods
-
virtual void init()
-
void addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
-
void addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
-
void setOption(const char* name, void* ptr)
-
void setIOption(const char* name, int option)
-
void setROption(const char* name, real option)
-
void setBOption(const char* name, bool option)
-
virtual void loadFILE(FILE* file)
-
virtual void saveFILE(FILE* file)
-
void load(const char* filename)
-
void save(const char* filename)
Documentation
This class measures the negative log likelihood. In fact, it supposes
that the input given is already the negative log likelihood. It is
then normalized by the total number of frames.
real* erreur
- contains the average negative log likelihood
real* erreur_c
- contains the total negative log likelihood
List* inputs
- contains a pointer to the negative log likelihood to measure
int tot_n_frames
- local counter of the total number of frames
SeqDataSet* sdata
- local pointer to the dataset, used to count the number of frames
NllMeasurer(List* inputs_, SeqDataSet* data_, FILE* file_)
NllMeasurer(List* inputs_, SeqDataSet* data_, const char* filename)
- This class has no child classes.
- Author:
- Samy Bengio (bengio@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.