Base class for models trained with the KD-tree based kNN algorithm
More...
- Template Parameters
-
modelFPType | Data type to store KD-tree based kNN model data, double or float |
- References
-
◆ Model()
Model |
( |
size_t |
nFeatures = 0 | ) |
|
Constructs the model trained with the KD-tree based kNN algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ create()
Constructs the model trained with the boosting algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[out] | stat | Status of the model construction |
◆ deserializeImpl()
Interfaces for the implementation of deserialization
- Parameters
-
[in] | archive | Storage for a deserialized object or data structure |
Implements SerializationIface.
◆ getNumberOfFeatures()
size_t getNumberOfFeatures |
( |
| ) |
const |
|
virtual |
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
Implements Model.
◆ impl() [1/2]
const ModelImpl* impl |
( |
| ) |
const |
|
inline |
Returns actual model implementation
- Returns
- Model implementation
◆ impl() [2/2]
Returns actual model implementation
- Returns
- Model implementation
◆ serializeImpl()
Interfaces for the implementation of serialization
- Parameters
-
[in] | archive | Storage for a serialized object or data structure |
Implements SerializationIface.
The documentation for this class was generated from the following file: