class Boosting

Boosting implementation.

Inheritance:


Public Fields

[more]WeightedSumMachine* w_machine
This machine performs the combination.
[more]ClassFormat* class_format
ClassFormat to know how the classes are encoded
[more]int n_trainers
The number of trainers in the boosting
[more]real* weights
The weights of each machine in the boosting

Public Methods

[more] Boosting(WeightedSumMachine* w_machine_, ClassFormat* class_format_)


Inherited from Trainer:

Public Methods

ovirtual void train(DataSet* data_, MeasurerList* measurers)
ovirtual void test(MeasurerList* measurers)
ostatic Allocator* extractMeasurers(MeasurerList* measurers, DataSet* train, DataSet*** datas, Measurer**** meas, int** n_meas, int* n_datas)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)


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)
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

Boosting implementation. As the idea of boosting in regression hasn't been really well tested, this is boosting for *classification* only.

This trainer will "boost" the machine given by the WeightedSumMachine, on the given DataSet.

You have to provide a ClassFormat to know how the classes are encoded.

oWeightedSumMachine* w_machine
This machine performs the combination. It contains many trainers.

oClassFormat* class_format
ClassFormat to know how the classes are encoded

oint n_trainers
The number of trainers in the boosting

oreal* weights
The weights of each machine in the boosting

o Boosting(WeightedSumMachine* w_machine_, ClassFormat* class_format_)


This class has no child classes.
Author:
Ronan Collobert (collober@idiap.ch)
See Also:
WeightedSumMachine

Alphabetic index HTML hierarchy of classes or Java



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