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_, DataSet* data_, ClassFormat* class_format_)


Inherited from Trainer:

Public Methods

ovirtual void train(List* measurers)
ovirtual void test(List* measurers)
ovirtual void testExample(List* measurers, int t)
ovirtual void crossValidate(int k_fold, List* train_measurers, List* test_measurers, List* cross_valid_measurers=NULL)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)


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)
ovoid load(const char* filename)
ovoid save(const char* filename)


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_, DataSet* data_, ClassFormat* class_format_)


This class has no child classes.
Author:
Ronan Collobert (collober@iro.umontreal.ca)
See Also:
WeightedSumMachine

Alphabetic index HTML hierarchy of classes or Java



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