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

Public Member Functions | List of all members
Model Class Reference

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

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def downCast
 
def create
 
def getSupportVectors
 
def getSupportIndices
 
def getClassificationCoefficients
 
def getBias
 
def setBias
 
def getNumberOfFeatures
 
def __init__
 
- 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,
  args 
)

Variant 1

Empty constructor for deserialization

Deprecated:
This item will be removed in a future release. Use Model.create instead.

Variant 2

Constructs the SVM model

Parameters
dummyDummy variable for the templated constructor
nColumnsNumber of features in input data
layoutData layout of the numeric table of support vectors
Deprecated:
This item will be removed in a future release. Use Model.create instead.

Variant 3

Constructs the SVM model

Parameters
dummyDummy variable for the templated constructor
nColumnsNumber of features in input data
layoutData layout of the numeric table of support vectors
Deprecated:
This item will be removed in a future release. Use Model.create instead.
Allowed Types
  • float64
  • float32

Member Function Documentation

def create (   stat = None)

Constructs empty SVM model for deserialization

Parameters
statStatus of the model construction
Returns
Empty SVM model for deserialization
def downCast (   r)

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

def getBias (   self)

Returns the bias constructed during the training of the SVM model

Returns
Bias
def getClassificationCoefficients (   self)

Returns classification coefficients constructed during the training of the SVM model

Returns
Array of classification coefficients
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 getSupportIndices (   self)

Returns indices of the support vectors constructed during the training of the SVM model

Returns
Array of support vectors indices
def getSupportVectors (   self)

Returns support vectors constructed during the training of the SVM model

Returns
Array of support vectors
def serializationTag ( )
def setBias (   self,
  bias 
)

Sets the bias for the SVM model

Parameters
biasBias of the model

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

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