Class containing a quality metric set to check the model trained with the Naive Bayes algorithm.
More...
- Enumerations
- QualityMetricId Identifiers of quality metrics provided by the library
- References
-
def __init__ |
( |
|
self, |
|
|
|
nClasses = 2 , |
|
|
|
useDefaultMetrics = True |
|
) |
| |
Constructs a quality metric set for the model trained with the Naive Bayes algorithm
- Parameters
-
nClasses | Number of classes |
useDefaultMetrics | Flag. If true, a quality metric set is initialized with the quality metrics provided by the library |
compute(Batch self) -> daal.algorithms.multinomial_naive_bayes.quality_metric_set.ResultCollectionPtr
def getInputDataCollection |
( |
|
self | ) |
|
Returns the collection of input objects of the quality metrics algorithm
- Returns
- Collection of input objects of the quality metrics algorithm
def getResultCollection |
( |
|
self | ) |
|
Returns the structure that contains a computed quality metric set
- Returns
- Structure that contains a computed quality metric set
Parameters of the algorithm
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/quality_metric_set.py