Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Multinomial naive Bayes model. More...
Public Member Functions | |
def | serializationTag |
def | getSerializationTag |
def | downCast |
def | getLogP |
def | getLogTheta |
def | getAuxTable |
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 multinomial naive Bayes model
nFeatures | The number of features |
parameter | The multinomial naive Bayes parameter |
dummy | Dummy variable for the templated constructor |
Constructs multinomial naive Bayes model
nFeatures | The number of features |
parameter | The multinomial naive Bayes parameter |
dummy | Dummy variable for the templated constructor |
float64
float32
def downCast | ( | r | ) |
downCast(daal.services.SharedPtr< daal.algorithms.classifier.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.multinomial_naive_bayes.Model >
def getAuxTable | ( | self | ) |
Returns a pointer to the Numeric Table with logarithms of the conditional probabilities
def getLogP | ( | self | ) |
Returns a pointer to the Numeric Table with logarithms of priors
def getLogTheta | ( | self | ) |
Returns a pointer to the Numeric Table with logarithms of the conditional probabilities
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 serializationTag | ( | ) |
serializationTag() -> int
For more complete information about compiler optimizations, see our Optimization Notice.