Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
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__ |
![]() | |
def | getNFeatures |
def | getNumberOfFeatures |
def | setNFeatures |
![]() | |
def | __init__ |
def | getSerializationTag |
![]() | |
def | serialize |
def | deserialize |
def | getSerializationTag |
![]() | |
def | __init__ |
def __init__ | ( | self, | |
args | |||
) |
Empty constructor for deserialization
Constructs the SVM model
dummy | Dummy variable for the templated constructor |
nColumns | Number of features in input data |
layout | Data layout of the numeric table of support vectors |
Constructs the SVM model
dummy | Dummy variable for the templated constructor |
nColumns | Number of features in input data |
layout | Data layout of the numeric table of support vectors |
float64
float32
def create | ( | stat = None | ) |
Constructs empty SVM model for deserialization
stat | Status of the model construction |
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
def getClassificationCoefficients | ( | self | ) |
Returns classification coefficients constructed during the training of the SVM model
def getNumberOfFeatures | ( | self | ) |
Retrieves the 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
def getSupportVectors | ( | self | ) |
Returns support vectors constructed during the training of the SVM model
def serializationTag | ( | ) |
serializationTag() -> int
def setBias | ( | self, | |
bias | |||
) |
Sets the bias for the SVM model
bias | Bias of the model |
For more complete information about compiler optimizations, see our Optimization Notice.