Model of the classifier trained by the logitboost.training.Batch algorithm.
More...
def __init__ |
( |
|
self, |
|
|
|
nFeatures = 0 |
|
) |
| |
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release.
Use Model.create instead.
def addWeakLearnerModel |
( |
|
self, |
|
|
|
model |
|
) |
| |
Add weak learner model into the LogitBoost model
- Parameters
-
model | Weak learner model to add into collection |
def clearWeakLearnerModels |
( |
|
self | ) |
|
Clears the collecion of weak learners
def create |
( |
|
nFeatures, |
|
|
|
par, |
|
|
|
stat = None |
|
) |
| |
Constructs the LogitBoost model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Pointer to the parameter structure of the LogitBoost algorithm |
stat | Status of the model construction |
downCast(daal.services.SharedPtr< daal.algorithms.classifier.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.logitboost.Model >
def getIterations |
( |
|
self | ) |
|
Returns the number of iterations done by the training algorithm
- Returns
- The number of iterations done by the training algorithm
def getNumberOfFeatures |
( |
|
self | ) |
|
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
def getNumberOfWeakLearners |
( |
|
self | ) |
|
Returns the number of weak learners constructed during training of the LogitBoost algorithm
- Returns
- The number of weak learners
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(interface2_Model self) -> int
def getWeakLearnerModel |
( |
|
self, |
|
|
|
idx |
|
) |
| |
Returns weak learner model constructed during training of the LogitBoost algorithm
- Parameters
-
idx | Index of the model in the collection |
- Returns
- Weak Learner model corresponding to the index idx
def setIterations |
( |
|
self, |
|
|
|
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:
- algorithms/logitboost/__init__.py