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

Public Member Functions | List of all members
Model Class Reference

Base class for models trained with the KD-tree based kNN algorithm More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def downCast
 
def __init__
 
def create
 
def impl
 
def getNumberOfFeatures
 
- 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 
)

Constructs the model trained with the KD-tree based kNN algorithm

Parameters
nFeaturesNumber of features in the dataset
Deprecated:
This item will be removed in a future release. Use Model.create instead.

Member Function Documentation

def create (   nFeatures = 0,
  stat = None 
)

Constructs the model trained with the boosting algorithm

Parameters
nFeaturesNumber of features in the dataset
statStatus of the model construction
def downCast (   r)

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

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 getSerializationTag (   self)

getSerializationTag(Model self) -> int

def impl (   self,
  args 
)

Variant 1

Returns actual model implementation

Returns
Model implementation

Variant 2

Returns actual model implementation

Returns
Model implementation
def serializationTag ( )

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

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