Model of the classifier trained by the logitboost::training::Batch algorithm.
More...
|
static services::SharedPtr< Model > | create (size_t nFeatures, const Parameter *par, services::Status *stat=NULL) |
|
DAAL_EXPORT Model |
( |
size_t |
nFeatures, |
|
|
const Parameter * |
par, |
|
|
modelFPType |
dummy |
|
) |
| |
Constructs the LogitBoost model
- Template Parameters
-
modelFPType | Data type to store LogitBoost model data, double or float |
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[in] | par | Pointer to the parameter structure of the LogitBoost algorithm |
[in] | dummy | Dummy variable for the templated constructor |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
Model |
( |
size_t |
nFeatures = 0 | ) |
|
|
inline |
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
void addWeakLearnerModel |
( |
regression::ModelPtr |
model | ) |
|
Add weak learner model into the LogitBoost model
- Parameters
-
[in] | model | Weak learner model to add into collection |
void clearWeakLearnerModels |
( |
| ) |
|
Clears the collecion of weak learners
static services::SharedPtr<Model> create |
( |
size_t |
nFeatures, |
|
|
const Parameter * |
par, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
Constructs the LogitBoost model
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[in] | par | Pointer to the parameter structure of the LogitBoost algorithm |
[out] | stat | Status of the model construction |
size_t getIterations |
( |
| ) |
const |
Returns the number of iterations done by the training algorithm
- Returns
- The number of iterations done by the training algorithm
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 LogitBoost algorithm
- Returns
- The number of weak learners
regression::ModelPtr getWeakLearnerModel |
( |
size_t |
idx | ) |
const |
Returns weak learner model constructed during training of the LogitBoost algorithm
- Parameters
-
[in] | idx | Index of the model in the collection |
- Returns
- Weak Learner model corresponding to the index idx
void setIterations |
( |
size_t |
nIterations | ) |
|
Sets the number of iterations for the algorithm
- Parameters
-
nIterations | Number of iterations |
The documentation for this class was generated from the following file: