Used to measure what you want during training/testing.
Inheritance:
Public Fields
-
XFile* file
- The measurer save measures in this file
-
DataSet* data
- The associated DataSet
-
bool binary_mode
- Is the measurer in binary mode ?
Public Methods
-
Measurer(DataSet* data_, XFile* file_)
- Measurer with the associated DataSet data_, and put results in the file file_
-
virtual void measureExample()
- Measure something for the current example.
-
virtual void measureIteration()
- Measure something after the current iteration.
-
virtual void measureEnd()
- Measure something at the end of the training/testing phase
-
virtual void reset()
- Reset the measurer.
Inherited from Object:
Public Fields
-
Allocator* allocator
Public Methods
-
void addOption(const char* name, int size, void* ptr, const char* help="")
-
void addIOption(const char* name, int* ptr, int init_value, const char* help="")
-
void addROption(const char* name, real* ptr, real init_value, const char* help="")
-
void addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
-
void addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
-
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)
-
void setOOption(const char* name, Object* option)
-
virtual void loadXFile(XFile* file)
-
virtual void saveXFile(XFile* file)
-
void load(const char* filename)
-
void save(const char* filename)
-
void* operator new(size_t size, Allocator* allocator_=NULL)
-
void* operator new(size_t size, Allocator* allocator_, void* ptr_)
-
void operator delete(void* ptr)
Documentation
Used to measure what you want during training/testing.
Usually, trainers call measurers.
The DataSet associated to the measurer allow us
to know when the measurer should be called.
(if the DataSet is the train dataset, the
measurer will be called during the train phase...)
Options:
"binary mode" | bool | binary mode for output | [false]
|
- XFile* file
- The measurer save measures in this file
- DataSet* data
- The associated DataSet
- bool binary_mode
- Is the measurer in binary mode ?
- Measurer(DataSet* data_, XFile* file_)
- Measurer with the associated DataSet data_,
and put results in the file file_
- virtual void measureExample()
- Measure something for the current example.
(This example has been selected in data
by the trainer)
- virtual void measureIteration()
- Measure something after the current iteration.
(After the call of measureExample() for each
example of data)
- virtual void measureEnd()
- Measure something at the end of the training/testing phase
- virtual void reset()
- Reset the measurer. (By default, do nothing).
- Direct child classes:
- WordSegMeasurer
TimeMeasurer
SaturationMeasurer
OutputMeasurer
NLLMeasurer
MSEMeasurer
FrameSegMeasurer
EditDistanceMeasurer
ClassNLLMeasurer
ClassMeasurer
BoostingMeasurer
- Author:
- Ronan Collobert (collober@idiap.ch)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.