22 #ifndef __KNN_CLASSIFICATION_TRAINING_TYPES_H__
23 #define __KNN_CLASSIFICATION_TRAINING_TYPES_H__
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/data_serialize.h"
27 #include "algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h"
28 #include "algorithms/classifier/classifier_training_types.h"
38 namespace kdtree_knn_classification
72 class DAAL_EXPORT Result :
public classifier::training::Result
75 DECLARE_SERIALIZABLE_CAST(Result);
83 daal::algorithms::kdtree_knn_classification::interface1::ModelPtr
get(classifier::training::ResultId id)
const;
91 template<
typename algorithmFPType>
92 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
int method);
96 template<
typename Archive,
bool onDeserialize>
97 services::Status serialImpl(Archive *arch)
99 return classifier::training::Result::serialImpl<Archive, onDeserialize>(arch);
102 typedef services::SharedPtr<Result> ResultPtr;
105 using interface1::Result;
106 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:31
daal::algorithms::kdtree_knn_classification::training::Method
Method
Computation methods for KD-tree based kNN model-based training.
Definition: kdtree_knn_classification_training_types.h:57
daal::algorithms::kdtree_knn_classification::training::interface1::Result
Provides methods to access the result obtained with the compute() method of KD-tree based kNN model-b...
Definition: kdtree_knn_classification_training_types.h:72
daal::algorithms::kdtree_knn_classification::training::defaultDense
Definition: kdtree_knn_classification_training_types.h:59
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:80