Base class for boosting algorithm models. Contains a collection of weak learner models constructed during training of the boosting algorithm
More...
Model |
( |
size_t |
nFeatures = 0 | ) |
|
|
inline |
Constructs the model trained with the boosting algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
void addWeakLearnerModel |
( |
weak_learner::ModelPtr |
model | ) |
|
Add weak learner model into the boosting model
- Parameters
-
[in] | model | Weak learner model to add into collection |
size_t getNumberOfFeatures |
( |
| ) |
const |
|
inline |
Retrieves the number of features in the dataset was used on the training stage
- Returns
- Number of features in the dataset was used on the training stage
size_t getNumberOfWeakLearners |
( |
| ) |
const |
Returns the number of weak learners constructed during training of the boosting algorithm
- Returns
- The number of weak learners
weak_learner::ModelPtr getWeakLearnerModel |
( |
size_t |
idx | ) |
const |
Returns weak learner model constructed during training of the boosting algorithm
- Parameters
-
[in] | idx | Index of the model in the collection |
- Returns
- Weak Learner model corresponding to the index idx
The documentation for this class was generated from the following file: