24 #ifndef __KNN_CLASSIFICATION_TRAINING_TYPES_H__
25 #define __KNN_CLASSIFICATION_TRAINING_TYPES_H__
27 #include "algorithms/algorithm.h"
28 #include "data_management/data/data_serialize.h"
29 #include "algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h"
30 #include "algorithms/classifier/classifier_training_types.h"
40 namespace kdtree_knn_classification
74 class DAAL_EXPORT Result :
public classifier::training::Result
77 DECLARE_SERIALIZABLE_CAST(Result);
85 daal::algorithms::kdtree_knn_classification::interface1::ModelPtr
get(classifier::training::ResultId id)
const;
93 template<
typename algorithmFPType>
94 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
int method);
102 template<
typename algorithmFPType>
103 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const kdtree_knn_classification::interface1::Parameter *parameter,
int method);
107 template<
typename Archive,
bool onDeserialize>
108 services::Status serialImpl(Archive *arch)
110 return classifier::training::Result::serialImpl<Archive, onDeserialize>(arch);
113 typedef services::SharedPtr<Result> ResultPtr;
116 using interface1::Result;
117 using interface1::ResultPtr;
daal::algorithms::kdtree_knn_classification::interface1::Parameter
KD-tree based kNN algorithm parameters.
Definition: kdtree_knn_classification_model.h:74
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:59
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:74
daal::algorithms::kdtree_knn_classification::training::defaultDense
Definition: kdtree_knn_classification_training_types.h:61
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:82