class BoostingMeasurer

Compute the classification weighted error (in %) for BoostingMachine of the inputs with respect to the targets of data.

Inheritance:


Public Methods

[more] BoostingMeasurer(ClassFormat* class_format_, XFile* file_)
[more]virtual void setDataSet(DataSet* data_)
Set the current working dataset
[more]virtual void setWeights(real* weights_)
Set the current weights of training examples
[more]virtual void setInputs(Sequence* inputs_)
Gives the pointer where the measure will be done


Inherited from Measurer:

Public Fields

oXFile* file
oDataSet* data
obool binary_mode

Public Methods

ovirtual void measureExample()
ovirtual void measureIteration()
ovirtual void measureEnd()
ovirtual void reset()


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
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)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


Documentation

Compute the classification weighted error (in %) for BoostingMachine of the inputs with respect to the targets of data. The weights are given by setWeights().

Needed by Boosting. (Designed just for it).

The format of the class is given with a ClassFormat.

o BoostingMeasurer(ClassFormat* class_format_, XFile* file_)

ovirtual void setDataSet(DataSet* data_)
Set the current working dataset

ovirtual void setWeights(real* weights_)
Set the current weights of training examples

ovirtual void setInputs(Sequence* inputs_)
Gives the pointer where the measure will be done


This class has no child classes.
Author:
Ronan Collobert (collober@idiap.ch) Samy Bengio (bengio@idiap.ch)
See Also:
Boosting

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.