Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | List of all members
interface2_Model Class Reference

Model of the classifier trained by the brownboost.training.Batch algorithm. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def downCast
 
def __init__
 
def getNumberOfWeakLearners
 
def getWeakLearnerModel
 
def addWeakLearnerModel
 
def clearWeakLearnerModels
 
def getNumberOfFeatures
 
def getAlpha
 
- Public Member Functions inherited from Model
def getNFeatures
 
def getNumberOfFeatures
 
def setNFeatures
 
- Public Member Functions inherited from Model
def __init__
 
def getSerializationTag
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 

Detailed Description

References

Constructor & Destructor Documentation

def __init__ (   self,
  nFeatures = 0 
)

Empty constructor for deserialization

Deprecated:
This item will be removed in a future release.

Use Model.create instead.

Member Function Documentation

def addWeakLearnerModel (   self,
  model 
)

Add weak learner model into the BrownBoost model

Parameters
modelWeak learner model to add into collection
def clearWeakLearnerModels (   self)

Clears the collecion of weak learners

def downCast (   r)

downCast(daal.services.SharedPtr< daal.algorithms.classifier.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.brownboost.Model >

def getAlpha (   self)

Returns a pointer to the array of weights of weak learners constructed during training of the BrownBoost algorithm. The size of the array equals the number of weak learners

Returns
Array of weights of weak learners.
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 BrownBoost 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 BrownBoost algorithm

Parameters
idxIndex of the model in the collection
Returns
Weak Learner model corresponding to the index idx
def serializationTag ( )

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.