Base class for models trained with the KD-tree based kNN algorithm
More...
def __init__ |
( |
|
self, |
|
|
|
nFeatures = 0 |
|
) |
| |
Constructs the model trained with the KD-tree based kNN algorithm
- Parameters
-
nFeatures | Number of features in the dataset |
- Deprecated:
- This item will be removed in a future release. Use Model.create instead.
def create |
( |
|
nFeatures = 0 , |
|
|
|
stat = None |
|
) |
| |
Constructs the model trained with the boosting algorithm
- Parameters
-
nFeatures | Number of features in the dataset |
stat | Status of the model construction |
downCast(daal.services.SharedPtr< daal.algorithms.classifier.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.kdtree_knn_classification.Model >
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
- Variant 1
Returns actual model implementation
- Returns
- Model implementation
- Variant 2
Returns actual model implementation
- Returns
- Model implementation
The documentation for this class was generated from the following file:
- algorithms/kdtree_knn_classification/__init__.py