|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiBagging.h>
Inheritance diagram for lti::bagging:


Public Member Functions | |
| bagging () | |
| bagging (const parameters &par) | |
| bagging (const bagging &other) | |
| virtual | ~bagging () |
| virtual const char * | getTypeName () const |
| bool | train (const dmatrix &input, const ivector &ids) |
| bool | classify (const dvector &feature, classifier::outputVector &result) const |
| bagging & | copy (const bagging &other) |
| bagging & | operator= (const bagging &other) |
| virtual classifier * | clone () const |
| const parameters & | getParameters () const |
| bool | read (ioHandler &handler, const bool complete=true) |
| bool | write (ioHandler &handler, const bool complete=true) const |
Protected Attributes | |
| std::list< supervisedInstanceClassifier * > * | ensemble |
| supervisedInstanceClassifierFactory | factory |
Classes | |
| class | parameters |
| the parameters for the class bagging More... | |
For the bagging a set of classifiers, the ensemble, is trained with randomly drawn subsets of the training data. For classication each classifier in the ensemble is classifies the data and the different results of each classifier are combined to a single result.
|
|
default constructor
|
|
|
Construct a classifier using the given parameters.
|
|
|
copy constructor
|
|
|
destructor
|
|
||||||||||||
|
classification and aggregating
|
|
|
returns a pointer to a clone of this classifier.
Implements lti::classifier. |
|
|
copy data of "other" classifier.
|
|
|
returns used parameters
Reimplemented from lti::classifier. |
|
|
returns the name of this type ("bagging")
Reimplemented from lti::classifier. |
|
|
alias for copy member
|
|
||||||||||||
|
read the bagging classifier from the given ioHandler
Reimplemented from lti::classifier. |
|
||||||||||||
|
training of the ensembles
|
|
||||||||||||
|
write to bagging classifier object to the given ioHandler
Reimplemented from lti::classifier. |
|
|
list that collects all classifiers that are trained with different training data sets.
|
|
|
object factory for constructing the classifiers in ensemble
|