class NllMeasurer

This class measures the negative log likelihood.

Inheritance:


Public Fields

[more]real* erreur
contains the average negative log likelihood
[more]real* erreur_c
contains the total negative log likelihood
[more]List* inputs
contains a pointer to the negative log likelihood to measure
[more]int tot_n_frames
local counter of the total number of frames
[more]SeqDataSet* sdata
local pointer to the dataset, used to count the number of frames

Public Methods

[more] NllMeasurer(List* inputs_, SeqDataSet* data_, FILE* file_)
[more] NllMeasurer(List* inputs_, SeqDataSet* data_, const char* filename)


Inherited from Measurer:

Public Fields

ovoid* measure
oFILE* file
oDataSet* data

Public Methods

ovirtual void measureEx()
ovirtual void measureIter()
ovirtual void measureEnd()


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)
ovoid load(const char* filename)
ovoid 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.

oreal* erreur
contains the average negative log likelihood

oreal* erreur_c
contains the total negative log likelihood

oList* inputs
contains a pointer to the negative log likelihood to measure

oint tot_n_frames
local counter of the total number of frames

oSeqDataSet* sdata
local pointer to the dataset, used to count the number of frames

o NllMeasurer(List* inputs_, SeqDataSet* data_, FILE* file_)

o 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++.