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::algorithms::kdtree_knn_classification::interface1::Parameter
KD-tree based kNN algorithm parameters.
Definition: kdtree_knn_classification_model.h:98
daal::services::interface1::Status
Class that holds the results of API calls. In case of API routine failure it contains the list of err...
Definition: error_handling.h:491
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::services::interface1::SharedPtr
Shared pointer that retains shared ownership of an object through a pointer. Several SharedPtr object...
Definition: daal_shared_ptr.h:187
daal::algorithms::classifier::training::ResultId
ResultId
Definition: classifier_training_types.h:106
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::classifier::training::interface1::Result
Provides methods to access final results obtained with the compute() method in the batch processing m...
Definition: classifier_training_types.h:222
daal::algorithms::kdtree_knn_classification::training::defaultDense
Definition: kdtree_knn_classification_training_types.h:85