Model of the classifier trained by the multi_class_classifier.training.Batch algorithm.
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Constructs multi-class classifier model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Parameters of the multi-class classifier algorithm |
- Deprecated:
- This item will be removed in a future release. Use Model.create instead.
- Variant 2
Constructs multi-class classifier model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Parameters of the multi-class classifier algorithm |
- Deprecated:
- This item will be removed in a future release. Use Model.create instead.
- Variant 3
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model.create instead.
- Variant 1
Constructs multi-class classifier model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Parameters of the multi-class classifier algorithm |
stat | Status of the model construction |
- Returns
- Multi-class classifier model
- Variant 2
Constructs multi-class classifier model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Parameters of the multi-class classifier algorithm |
stat | Status of the model construction |
- Returns
- Multi-class classifier model
- Variant 3
Constructs multi-class classifier model
- Parameters
-
nFeatures | Number of features in the dataset |
par | Parameters of the multi-class classifier algorithm |
stat | Status of the model construction |
- Returns
- Multi-class classifier model
downCast(daal.services.SharedPtr< daal.algorithms.classifier.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.multi_class_classifier.Model >
def getMultiClassClassifierModel |
( |
|
self | ) |
|
Returns a collection of two-class classifier models in a multi-class classifier model
- Returns
- Collection of two-class classifier models
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 getNumberOfTwoClassClassifierModels |
( |
|
self | ) |
|
Returns a number of two-class classifiers associated with the model
- Returns
- Number of two-class classifiers associated with the model
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Model self) -> int
def getTwoClassClassifierModel |
( |
|
self, |
|
|
|
idx |
|
) |
| |
Returns a two-class classifier model in a multi-class classifier model
- Parameters
-
idx | Index of the two-class classifier model in a multi-class classifier model |
- Returns
- Two-class classifier model
def getTwoClassClassifierModels |
( |
|
self | ) |
|
Returns a pointer to the array of two-class classifier models in a multi-class classifier model
- Returns
- Pointer to the array of two-class classifier models
- Deprecated:
- This item will be removed in a future release. Use Model.getTwoClassClassifierModel instead.
def setTwoClassClassifierModel |
( |
|
self, |
|
|
|
idx, |
|
|
|
model |
|
) |
| |
Set two-class classifier model into a multi-class classifier model
- Parameters
-
idx | Index of two-class classifier model in a collection |
model | Two-class classifier model to add into collection |
The documentation for this class was generated from the following file:
- algorithms/multi_class_classifier/__init__.py