48 #ifndef __KNN_CLASSIFICATION_TRAINING_TYPES_H__
49 #define __KNN_CLASSIFICATION_TRAINING_TYPES_H__
51 #include "algorithms/algorithm.h"
52 #include "data_management/data/data_serialize.h"
53 #include "algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h"
54 #include "algorithms/classifier/classifier_training_types.h"
64 namespace kdtree_knn_classification
98 class DAAL_EXPORT Result :
public classifier::training::Result
101 DECLARE_SERIALIZABLE_CAST(Result);
109 daal::algorithms::kdtree_knn_classification::interface1::ModelPtr
get(classifier::training::ResultId id)
const;
117 template<
typename algorithmFPType>
118 DAAL_EXPORT services::Status allocate(
const daal::algorithms::Input *input,
const Parameter *parameter,
int method);
122 template<
typename Archive,
bool onDeserialize>
123 services::Status serialImpl(Archive *arch)
125 return classifier::training::Result::serialImpl<Archive, onDeserialize>(arch);
128 typedef services::SharedPtr<Result> ResultPtr;
131 using interface1::Result;
132 using interface1::ResultPtr;
daal
Definition: algorithm_base_common.h:57
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:83
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:98
daal::algorithms::kdtree_knn_classification::training::defaultDense
Definition: kdtree_knn_classification_training_types.h:85
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:106