dal-include 2026.3.0__py2.py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dal_include-2026.3.0.data/data/Library/include/daal.h +236 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base.h +34 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_common.h +138 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode.h +187 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode_impl.h +297 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base.h +232 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base_batch.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_kernel.h +60 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_types.h +547 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/analysis.h +82 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky_types.h +184 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict.h +140 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict_types.h +238 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_batch.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_online.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_types.h +257 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/tree_traverse.h +86 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_batch.h +229 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_distributed.h +495 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_online.h +266 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_types.h +454 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_batch.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_distributed.h +1577 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_types.h +2341 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model_builder.h +210 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict_types.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_batch.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_types.h +216 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict.h +135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict_types.h +219 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_batch.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_types.h +286 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_training_parameter.h +172 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_model.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict_types.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_batch.h +162 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_types.h +356 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm.h +135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_covariance_storage_id.h +52 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_batch.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_types.h +264 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_types.h +310 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine.h +112 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_family.h +108 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a.h +152 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a_types.h +65 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203.h +150 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10.h +152 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10_types.h +65 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model_builder.h +179 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict_types.h +243 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_batch.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_types.h +190 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model_builder.h +175 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict_types.h +244 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_batch.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_types.h +254 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_training_parameter.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_model.h +295 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_batch.h +142 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_distributed.h +198 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_types.h +369 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_batch.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_distributed.h +474 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_batch.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_distributed.h +257 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_types.h +562 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_types.h +843 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_model.h +227 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict.h +176 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_batch.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_types.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h +209 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict.h +161 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_batch.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_types.h +138 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function.h +121 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_linear.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_rbf.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types.h +201 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_linear.h +111 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_rbf.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_batch.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_distributed.h +383 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_batch.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_distributed.h +873 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_types.h +1135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_types.h +425 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_model.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict_types.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_batch.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_types.h +354 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_model.h +142 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict.h +91 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict_types.h +211 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_batch.h +74 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_online.h +83 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_types.h +229 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model.h +103 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model_builder.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_ne_model.h +83 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict_types.h +179 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_qr_model.h +84 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_batch.h +151 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_distributed.h +275 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_online.h +155 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_types.h +430 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model.h +101 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model_builder.h +204 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict_types.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_batch.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_types.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/model.h +85 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_batch.h +206 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_distributed.h +255 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_online.h +172 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_types.h +422 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model.h +210 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model_builder.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict.h +181 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train_types.h +121 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax_types.h +244 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore.h +227 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore_types.h +309 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_batch.h +162 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_types.h +195 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_batch.h +124 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_types.h +322 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_batch.h +157 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_types.h +250 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_batch.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_types.h +178 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_batch.h +155 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_batch.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_types.h +224 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_batch.h +130 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_types.h +253 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_batch.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_types.h +58 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_batch.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_types.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/optimization_solver_batch.h +63 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_batch.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_distributed.h +361 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_online.h +295 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_types.h +850 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_batch.h +143 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_types.h +253 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_batch.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/prediction.h +62 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_batch.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_distributed.h +372 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_online.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_types.h +662 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_model.h +88 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict.h +101 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_batch.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_online.h +115 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_types.h +212 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/tree_traverse.h +90 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_model.h +123 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_ne_model.h +85 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict.h +167 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict_types.h +186 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_batch.h +150 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_distributed.h +268 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_online.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_types.h +432 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_batch.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_distributed.h +353 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_online.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_types.h +674 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model.h +170 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model_builder.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict_types.h +125 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train_types.h +119 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/training.h +70 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils.h +100 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_classification.h +70 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_regression.h +69 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tsne/tsne_gradient_descent.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/aos_numeric_table.h +530 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/arrow_numeric_table.h +451 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/csr_numeric_table.h +1076 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_archive.h +1024 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_block.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_collection.h +336 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_dictionary.h +466 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_serialize.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/factory.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/homogen_numeric_table.h +960 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/input_collection.h +43 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/base_arrow_numeric_table.h +79 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/conversion.h +151 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/finiteness_checker.h +43 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/roc_auc_score.h +36 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/train_test_split.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/memory_block.h +115 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/merged_numeric_table.h +447 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_table.h +977 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_types.h +47 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/row_merged_numeric_table.h +401 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/soa_numeric_table.h +540 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_data_source.h +453 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_feature_manager.h +577 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source.h +739 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_dictionary.h +283 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_utils.h +76 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/file_data_source.h +237 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/csv_feature_utils.h +195 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/data_source_options.h +49 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/default_modifiers.h +260 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/engine.h +225 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/modifier.h +180 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/shortcuts.h +91 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/internal/engine.h +421 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/modifier.h +157 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/string_data_source.h +178 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/compatibility.h +98 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/defines.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/identifiers.h +154 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/indices.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/helpers.h +281 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/identifiers_impl.h +278 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/indices_impl.h +143 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/shortcuts.h +209 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/base.h +49 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/buffer_view.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/collection.h +384 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_atomic_int.h +264 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_defines.h +670 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_memory.h +108 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_shared_ptr.h +462 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_string.h +239 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/env_detect.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_handling.h +600 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_id.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_indexes.h +445 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/collection.h +258 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_kernel_defines.h +32 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_load_win_dynamic_lib.h +39 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/dynamic_lib_helper.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/error_handling_helpers.h +75 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/hash_table.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/status_to_error_id.h +40 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/utilities.h +69 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/library_version_info.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/common.hpp +200 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute_types.hpp +384 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/compute_ops.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/finalize_compute_ops.hpp +97 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/partial_compute_ops.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/finalize_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/partial_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics.hpp +21 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/chebyshev_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/common.hpp +123 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_default_kernel.hpp +81 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_ops.hpp +56 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning_types.hpp +105 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute_types.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute_types.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/common.hpp +202 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute_types.hpp +309 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/compute_ops.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/finalize_compute_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/partial_compute_ops.hpp +81 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/finalize_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/cpu/compute_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/gpu/compute_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/partial_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance.hpp +21 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/common.hpp +258 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute_types.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/detail/compute_ops.hpp +75 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/common.hpp +768 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/infer_ops.hpp +102 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/train_ops.hpp +120 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer_types.hpp +178 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/infer_parameters.hpp +59 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/train_parameters.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/infer_parameters.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/train_parameters.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train_types.hpp +284 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/common.hpp +207 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/detail/node_visitor.hpp +74 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/common.hpp +140 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute_types.hpp +98 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/detail/compute_ops.hpp +76 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/common.hpp +408 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute_types.hpp +197 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/detail/compute_ops.hpp +83 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/common.hpp +170 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/select_kernel.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/service.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_default_kernel.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity_types.hpp +110 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/common.hpp +265 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/infer_ops.hpp +84 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_init_centroids.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer_types.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train_types.hpp +168 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/common.hpp +221 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute_types.hpp +115 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/detail/compute_ops.hpp +83 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/common.hpp +378 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/distance.hpp +111 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/infer_ops.hpp +72 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/train_ops.hpp +76 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer_types.hpp +152 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train_types.hpp +137 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/common.hpp +156 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/detail/compute_ops.hpp +95 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/common.hpp +237 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/finalize_train_ops.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/infer_ops.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/partial_train_ops.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/train_ops.hpp +143 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/finalize_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer_types.hpp +111 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/cpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/gpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/partial_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train_types.hpp +340 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/common.hpp +294 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/infer_ops.hpp +69 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/optimizer.hpp +85 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/train_ops.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer_types.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/cpu/train_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/gpu/train_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train_types.hpp +197 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logloss_objective/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/common.hpp +175 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/select_kernel.hpp +69 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_default_kernel.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning_types.hpp +136 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/minkowski_distance/common.hpp +148 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/newton_cg/common.hpp +162 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/common.hpp +223 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute_types.hpp +159 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/compute_ops.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/objective.hpp +86 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/common.hpp +343 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/finalize_train_ops.hpp +72 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/infer_ops.hpp +97 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/partial_train_ops.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/train_ops.hpp +113 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/finalize_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/cpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/gpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/partial_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train_types.hpp +379 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/common.hpp +141 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/common.hpp +223 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_default_kernel.hpp +114 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_ops.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse_types.hpp +106 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/common.hpp +161 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_default_kernel.hpp +128 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_ops.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/select_kernel.hpp +105 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/common.hpp +573 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/infer_ops.hpp +95 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/kernel_function.hpp +165 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/train_ops.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer_types.hpp +148 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train_types.hpp +211 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/common.hpp +152 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/relabel_kernel.hpp +123 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_default_kernel.hpp +256 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_ops.hpp +61 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking_types.hpp +109 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/array.hpp +758 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/chunked_array.hpp +330 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/common.hpp +158 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/compute.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/archives.hpp +135 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_impl.hpp +456 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_utils.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ccl/communicator.hpp +478 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_impl.hpp +242 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_utils.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/common.hpp +501 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/communicator.hpp +102 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu.hpp +107 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_arm_impl.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_iface.hpp +51 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_impl.hpp +49 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_riscv64_impl.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_x86_impl.hpp +45 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/debug.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dispatcher.hpp +52 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dtype_dispatcher.hpp +128 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/error_messages.hpp +368 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context.hpp +46 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context_impl.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/graph_matching_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/hash_map.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/infer_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory.hpp +205 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_dpc.hpp +110 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_host.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/mpi/communicator.hpp +416 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ops_dispatcher.hpp +238 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/paged_vector.hpp +206 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters_impl.hpp +59 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/policy.hpp +147 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/profiler.hpp +99 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/read_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/serialization.hpp +449 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/singleton.hpp +45 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/sparse_matrix_handle_impl.hpp +58 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/spmd_policy.hpp +104 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/threading.hpp +548 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/traverse_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_partitioning_ops.hpp +44 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_ranking_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_similarity_ops.hpp +44 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/exceptions.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_compute.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_train.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/common.hpp +149 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/common.hpp +36 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/container.hpp +263 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/csr_topology.hpp +140 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_builder.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_impl.hpp +172 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_topology_builder.hpp +48 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/service_functions_impl.hpp +71 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_impl.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_topology_builder.hpp +49 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/directed_adjacency_vector_graph.hpp +176 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/service_functions.hpp +168 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/undirected_adjacency_vector_graph.hpp +173 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph_matching.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/infer.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/common.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel.hpp +39 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel_impl.hpp +660 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_service.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_ops.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/select_kernel.hpp +51 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read_types.hpp +163 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_compute.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_train.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/read.hpp +42 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/rng.hpp +50 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/ccl/communicator.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/common.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/communicator.hpp +571 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/detail/communicator_utils.hpp +218 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/exceptions.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/mpi/communicator.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/column_accessor.hpp +199 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/common.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr.hpp +424 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr_accessor.hpp +232 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/access_iface_compat.hpp +99 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/columns_access_iface.hpp +156 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_access_iface.hpp +115 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_utils.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/homogen_utils.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/metadata_utils.hpp +149 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/rows_access_iface.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_builder.hpp +308 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_iface.hpp +349 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_kinds.hpp +34 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_utils.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/heterogen.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/homogen.hpp +281 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/row_accessor.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/train.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/traverse.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/common.hpp +48 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/detail/type_traits.hpp +52 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/result_option_id.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_partitioning.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_ranking.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_similarity.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal.hpp +72 -0
- dal_include-2026.3.0.data/data/share/doc/dal/licensing/third-party-programs.txt +359 -0
- dal_include-2026.3.0.dist-info/LICENSE.txt +25 -0
- dal_include-2026.3.0.dist-info/METADATA +23 -0
- dal_include-2026.3.0.dist-info/RECORD +616 -0
- dal_include-2026.3.0.dist-info/WHEEL +6 -0
- dal_include-2026.3.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1577 @@
|
|
|
1
|
+
/* file: dbscan_distributed.h */
|
|
2
|
+
/*******************************************************************************
|
|
3
|
+
* Copyright 2014 Intel Corporation
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*******************************************************************************/
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
//++
|
|
20
|
+
// Implementation of the interface for the DBSCAN algorithm in the distributed
|
|
21
|
+
// processing mode
|
|
22
|
+
//--
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
#ifndef __DBSCAN_DISTRIBUTED_H__
|
|
26
|
+
#define __DBSCAN_DISTRIBUTED_H__
|
|
27
|
+
|
|
28
|
+
#include "algorithms/algorithm.h"
|
|
29
|
+
#include "data_management/data/numeric_table.h"
|
|
30
|
+
#include "services/daal_defines.h"
|
|
31
|
+
#include "algorithms/dbscan/dbscan_types.h"
|
|
32
|
+
|
|
33
|
+
namespace daal
|
|
34
|
+
{
|
|
35
|
+
namespace algorithms
|
|
36
|
+
{
|
|
37
|
+
namespace dbscan
|
|
38
|
+
{
|
|
39
|
+
namespace interface1
|
|
40
|
+
{
|
|
41
|
+
/**
|
|
42
|
+
* @defgroup dbscan_distributed Distributed
|
|
43
|
+
* @ingroup dbscan_compute
|
|
44
|
+
* @{
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED"></a>
|
|
48
|
+
* \brief Computes the results of the DBSCAN algorithm in the distributed processing mode
|
|
49
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
50
|
+
*
|
|
51
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
52
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
53
|
+
*
|
|
54
|
+
* \par Enumerations
|
|
55
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
56
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
57
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
58
|
+
*
|
|
59
|
+
* \par References
|
|
60
|
+
* - Input class
|
|
61
|
+
* - Result class
|
|
62
|
+
*/
|
|
63
|
+
template <ComputeStep step, typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
|
|
64
|
+
class DAAL_EXPORT Distributed
|
|
65
|
+
{};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP1LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
69
|
+
* \brief Computes the results of the DBSCAN algorithm in the first step of the distributed processing mode
|
|
70
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
71
|
+
*
|
|
72
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
73
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
74
|
+
*
|
|
75
|
+
* \par Enumerations
|
|
76
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
77
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
78
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
79
|
+
*/
|
|
80
|
+
template <typename algorithmFPType, Method method>
|
|
81
|
+
class Distributed<step1Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
82
|
+
{
|
|
83
|
+
public:
|
|
84
|
+
typedef algorithms::dbscan::DistributedInput<step1Local> InputType;
|
|
85
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
86
|
+
typedef algorithms::dbscan::DistributedPartialResultStep1 PartialResultType;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Constructs a DBSCAN algorithm
|
|
90
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
91
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
92
|
+
*/
|
|
93
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
97
|
+
* of another DBSCAN algorithm
|
|
98
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
99
|
+
* and parameters of the algorithm
|
|
100
|
+
*/
|
|
101
|
+
Distributed(const Distributed<step1Local, algorithmFPType, method> & other);
|
|
102
|
+
|
|
103
|
+
~Distributed()
|
|
104
|
+
{
|
|
105
|
+
delete _par;
|
|
106
|
+
_par = 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Gets parameter of the algorithm
|
|
111
|
+
* \return parameter of the algorithm
|
|
112
|
+
*/
|
|
113
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Gets parameter of the algorithm
|
|
117
|
+
* \return parameter of the algorithm
|
|
118
|
+
*/
|
|
119
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Returns the method of the algorithm
|
|
123
|
+
* \return Method of the algorithm
|
|
124
|
+
*/
|
|
125
|
+
int getMethod() const override { return (int)method; }
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Returns the structure that contains computed partial results
|
|
129
|
+
* \return Structure that contains computed partial results
|
|
130
|
+
*/
|
|
131
|
+
DistributedPartialResultStep1Ptr getPartialResult() { return _partialResult; }
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Sets the structure that contains computed partial results
|
|
135
|
+
*/
|
|
136
|
+
services::Status setPartialResult(const DistributedPartialResultStep1Ptr & partialRes)
|
|
137
|
+
{
|
|
138
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
139
|
+
_partialResult = partialRes;
|
|
140
|
+
_pres = _partialResult.get();
|
|
141
|
+
return services::Status();
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
146
|
+
* and parameters of this DBSCAN algorithm
|
|
147
|
+
* \return Pointer to the newly allocated algorithm
|
|
148
|
+
*/
|
|
149
|
+
services::SharedPtr<Distributed<step1Local, algorithmFPType, method> > clone() const
|
|
150
|
+
{
|
|
151
|
+
return services::SharedPtr<Distributed<step1Local, algorithmFPType, method> >(cloneImpl());
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
protected:
|
|
155
|
+
Distributed<step1Local, algorithmFPType, method> * cloneImpl() const override
|
|
156
|
+
{
|
|
157
|
+
return new Distributed<step1Local, algorithmFPType, method>(*this);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
161
|
+
|
|
162
|
+
services::Status allocatePartialResult() override
|
|
163
|
+
{
|
|
164
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
165
|
+
_pres = _partialResult.get();
|
|
166
|
+
return s;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
170
|
+
|
|
171
|
+
void initialize();
|
|
172
|
+
|
|
173
|
+
public:
|
|
174
|
+
InputType input; /*!< %Input data structure */
|
|
175
|
+
|
|
176
|
+
private:
|
|
177
|
+
DistributedPartialResultStep1Ptr _partialResult;
|
|
178
|
+
|
|
179
|
+
Distributed & operator=(const Distributed &);
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP2LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
184
|
+
* \brief Computes the results of the DBSCAN algorithm in the second step of the distributed processing mode
|
|
185
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
186
|
+
*
|
|
187
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
188
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
189
|
+
*
|
|
190
|
+
* \par Enumerations
|
|
191
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
192
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
193
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
194
|
+
*/
|
|
195
|
+
template <typename algorithmFPType, Method method>
|
|
196
|
+
class Distributed<step2Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
197
|
+
{
|
|
198
|
+
public:
|
|
199
|
+
typedef algorithms::dbscan::DistributedInput<step2Local> InputType;
|
|
200
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
201
|
+
typedef algorithms::dbscan::DistributedPartialResultStep2 PartialResultType;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Constructs a DBSCAN algorithm
|
|
205
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
206
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
207
|
+
*/
|
|
208
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
212
|
+
* of another DBSCAN algorithm
|
|
213
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
214
|
+
* and parameters of the algorithm
|
|
215
|
+
*/
|
|
216
|
+
Distributed(const Distributed<step2Local, algorithmFPType, method> & other);
|
|
217
|
+
|
|
218
|
+
~Distributed()
|
|
219
|
+
{
|
|
220
|
+
delete _par;
|
|
221
|
+
_par = 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Gets parameter of the algorithm
|
|
226
|
+
* \return parameter of the algorithm
|
|
227
|
+
*/
|
|
228
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Gets parameter of the algorithm
|
|
232
|
+
* \return parameter of the algorithm
|
|
233
|
+
*/
|
|
234
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Returns the method of the algorithm
|
|
238
|
+
* \return Method of the algorithm
|
|
239
|
+
*/
|
|
240
|
+
int getMethod() const override { return (int)method; }
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Returns the structure that contains computed partial results
|
|
244
|
+
* \return Structure that contains computed partial results
|
|
245
|
+
*/
|
|
246
|
+
DistributedPartialResultStep2Ptr getPartialResult() { return _partialResult; }
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Sets the structure that contains computed partial results
|
|
250
|
+
*/
|
|
251
|
+
services::Status setPartialResult(const DistributedPartialResultStep2Ptr & partialRes)
|
|
252
|
+
{
|
|
253
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
254
|
+
_partialResult = partialRes;
|
|
255
|
+
_pres = _partialResult.get();
|
|
256
|
+
return services::Status();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
261
|
+
* and parameters of this DBSCAN algorithm
|
|
262
|
+
* \return Pointer to the newly allocated algorithm
|
|
263
|
+
*/
|
|
264
|
+
services::SharedPtr<Distributed<step2Local, algorithmFPType, method> > clone() const
|
|
265
|
+
{
|
|
266
|
+
return services::SharedPtr<Distributed<step2Local, algorithmFPType, method> >(cloneImpl());
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
protected:
|
|
270
|
+
Distributed<step2Local, algorithmFPType, method> * cloneImpl() const override
|
|
271
|
+
{
|
|
272
|
+
return new Distributed<step2Local, algorithmFPType, method>(*this);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
276
|
+
|
|
277
|
+
services::Status allocatePartialResult() override
|
|
278
|
+
{
|
|
279
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
280
|
+
_pres = _partialResult.get();
|
|
281
|
+
return s;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
285
|
+
|
|
286
|
+
void initialize();
|
|
287
|
+
|
|
288
|
+
public:
|
|
289
|
+
InputType input; /*!< %Input data structure */
|
|
290
|
+
|
|
291
|
+
private:
|
|
292
|
+
DistributedPartialResultStep2Ptr _partialResult;
|
|
293
|
+
|
|
294
|
+
Distributed & operator=(const Distributed &);
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP3LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
299
|
+
* \brief Computes the results of the DBSCAN algorithm in the third step of the distributed processing mode
|
|
300
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
301
|
+
*
|
|
302
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
303
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
304
|
+
*
|
|
305
|
+
* \par Enumerations
|
|
306
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
307
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
308
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
309
|
+
*/
|
|
310
|
+
template <typename algorithmFPType, Method method>
|
|
311
|
+
class Distributed<step3Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
312
|
+
{
|
|
313
|
+
public:
|
|
314
|
+
typedef algorithms::dbscan::DistributedInput<step3Local> InputType;
|
|
315
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
316
|
+
typedef algorithms::dbscan::DistributedPartialResultStep3 PartialResultType;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Constructs a DBSCAN algorithm
|
|
320
|
+
* \param[in] leftBlocks Number of blocks that will process observations with value of selected
|
|
321
|
+
split feature lesser than selected split value
|
|
322
|
+
* \param[in] rightBlocks Number of blocks that will process observations with value of selected
|
|
323
|
+
split feature greater than selected split value
|
|
324
|
+
*/
|
|
325
|
+
Distributed(size_t leftBlocks, size_t rightBlocks);
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
329
|
+
* of another DBSCAN algorithm
|
|
330
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
331
|
+
* and parameters of the algorithm
|
|
332
|
+
*/
|
|
333
|
+
Distributed(const Distributed<step3Local, algorithmFPType, method> & other);
|
|
334
|
+
|
|
335
|
+
~Distributed()
|
|
336
|
+
{
|
|
337
|
+
delete _par;
|
|
338
|
+
_par = 0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Gets parameter of the algorithm
|
|
343
|
+
* \return parameter of the algorithm
|
|
344
|
+
*/
|
|
345
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Gets parameter of the algorithm
|
|
349
|
+
* \return parameter of the algorithm
|
|
350
|
+
*/
|
|
351
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Returns the method of the algorithm
|
|
355
|
+
* \return Method of the algorithm
|
|
356
|
+
*/
|
|
357
|
+
int getMethod() const override { return (int)method; }
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Returns the structure that contains computed partial results
|
|
361
|
+
* \return Structure that contains computed partial results
|
|
362
|
+
*/
|
|
363
|
+
DistributedPartialResultStep3Ptr getPartialResult() { return _partialResult; }
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Sets the structure that contains computed partial results
|
|
367
|
+
*/
|
|
368
|
+
services::Status setPartialResult(const DistributedPartialResultStep3Ptr & partialRes)
|
|
369
|
+
{
|
|
370
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
371
|
+
_partialResult = partialRes;
|
|
372
|
+
_pres = _partialResult.get();
|
|
373
|
+
return services::Status();
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
378
|
+
* and parameters of this DBSCAN algorithm
|
|
379
|
+
* \return Pointer to the newly allocated algorithm
|
|
380
|
+
*/
|
|
381
|
+
services::SharedPtr<Distributed<step3Local, algorithmFPType, method> > clone() const
|
|
382
|
+
{
|
|
383
|
+
return services::SharedPtr<Distributed<step3Local, algorithmFPType, method> >(cloneImpl());
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
protected:
|
|
387
|
+
Distributed<step3Local, algorithmFPType, method> * cloneImpl() const override
|
|
388
|
+
{
|
|
389
|
+
return new Distributed<step3Local, algorithmFPType, method>(*this);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
393
|
+
|
|
394
|
+
services::Status allocatePartialResult() override
|
|
395
|
+
{
|
|
396
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
397
|
+
_pres = _partialResult.get();
|
|
398
|
+
return s;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
402
|
+
|
|
403
|
+
void initialize();
|
|
404
|
+
|
|
405
|
+
public:
|
|
406
|
+
InputType input; /*!< %Input data structure */
|
|
407
|
+
|
|
408
|
+
private:
|
|
409
|
+
DistributedPartialResultStep3Ptr _partialResult;
|
|
410
|
+
|
|
411
|
+
Distributed & operator=(const Distributed &);
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP4LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
416
|
+
* \brief Computes the results of the DBSCAN algorithm in the fourth step of the distributed processing mode
|
|
417
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
418
|
+
*
|
|
419
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
420
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
421
|
+
*
|
|
422
|
+
* \par Enumerations
|
|
423
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
424
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
425
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
426
|
+
*/
|
|
427
|
+
template <typename algorithmFPType, Method method>
|
|
428
|
+
class Distributed<step4Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
429
|
+
{
|
|
430
|
+
public:
|
|
431
|
+
typedef algorithms::dbscan::DistributedInput<step4Local> InputType;
|
|
432
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
433
|
+
typedef algorithms::dbscan::DistributedPartialResultStep4 PartialResultType;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Constructs a DBSCAN algorithm
|
|
437
|
+
* \param[in] leftBlocks Number of blocks that will process observations with value of selected
|
|
438
|
+
split feature lesser than selected split value
|
|
439
|
+
* \param[in] rightBlocks Number of blocks that will process observations with value of selected
|
|
440
|
+
split feature greater than selected split value
|
|
441
|
+
*/
|
|
442
|
+
Distributed(size_t leftBlocks, size_t rightBlocks);
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
446
|
+
* of another DBSCAN algorithm
|
|
447
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
448
|
+
* and parameters of the algorithm
|
|
449
|
+
*/
|
|
450
|
+
Distributed(const Distributed<step4Local, algorithmFPType, method> & other);
|
|
451
|
+
|
|
452
|
+
~Distributed()
|
|
453
|
+
{
|
|
454
|
+
delete _par;
|
|
455
|
+
_par = 0;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Gets parameter of the algorithm
|
|
460
|
+
* \return parameter of the algorithm
|
|
461
|
+
*/
|
|
462
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Gets parameter of the algorithm
|
|
466
|
+
* \return parameter of the algorithm
|
|
467
|
+
*/
|
|
468
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Returns the method of the algorithm
|
|
472
|
+
* \return Method of the algorithm
|
|
473
|
+
*/
|
|
474
|
+
int getMethod() const override { return (int)method; }
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Returns the structure that contains computed partial results
|
|
478
|
+
* \return Structure that contains computed partial results
|
|
479
|
+
*/
|
|
480
|
+
DistributedPartialResultStep4Ptr getPartialResult() { return _partialResult; }
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Sets the structure that contains computed partial results
|
|
484
|
+
*/
|
|
485
|
+
services::Status setPartialResult(const DistributedPartialResultStep4Ptr & partialRes)
|
|
486
|
+
{
|
|
487
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
488
|
+
_partialResult = partialRes;
|
|
489
|
+
_pres = _partialResult.get();
|
|
490
|
+
return services::Status();
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
495
|
+
* and parameters of this DBSCAN algorithm
|
|
496
|
+
* \return Pointer to the newly allocated algorithm
|
|
497
|
+
*/
|
|
498
|
+
services::SharedPtr<Distributed<step4Local, algorithmFPType, method> > clone() const
|
|
499
|
+
{
|
|
500
|
+
return services::SharedPtr<Distributed<step4Local, algorithmFPType, method> >(cloneImpl());
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
protected:
|
|
504
|
+
Distributed<step4Local, algorithmFPType, method> * cloneImpl() const override
|
|
505
|
+
{
|
|
506
|
+
return new Distributed<step4Local, algorithmFPType, method>(*this);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
510
|
+
|
|
511
|
+
services::Status allocatePartialResult() override
|
|
512
|
+
{
|
|
513
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
514
|
+
_pres = _partialResult.get();
|
|
515
|
+
return s;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
519
|
+
|
|
520
|
+
void initialize();
|
|
521
|
+
|
|
522
|
+
public:
|
|
523
|
+
InputType input; /*!< %Input data structure */
|
|
524
|
+
|
|
525
|
+
private:
|
|
526
|
+
DistributedPartialResultStep4Ptr _partialResult;
|
|
527
|
+
|
|
528
|
+
Distributed & operator=(const Distributed &);
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP5LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
533
|
+
* \brief Computes the results of the DBSCAN algorithm in the fifth step of the distributed processing mode
|
|
534
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
535
|
+
*
|
|
536
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
537
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
538
|
+
*
|
|
539
|
+
* \par Enumerations
|
|
540
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
541
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
542
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
543
|
+
*/
|
|
544
|
+
template <typename algorithmFPType, Method method>
|
|
545
|
+
class Distributed<step5Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
546
|
+
{
|
|
547
|
+
public:
|
|
548
|
+
typedef algorithms::dbscan::DistributedInput<step5Local> InputType;
|
|
549
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
550
|
+
typedef algorithms::dbscan::DistributedPartialResultStep5 PartialResultType;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Constructs a DBSCAN algorithm
|
|
554
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
555
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
556
|
+
* \param[in] epsilon Radius of neighborhood
|
|
557
|
+
*/
|
|
558
|
+
Distributed(size_t blockIndex, size_t nBlocks, algorithmFPType epsilon);
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
562
|
+
* of another DBSCAN algorithm
|
|
563
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
564
|
+
* and parameters of the algorithm
|
|
565
|
+
*/
|
|
566
|
+
Distributed(const Distributed<step5Local, algorithmFPType, method> & other);
|
|
567
|
+
|
|
568
|
+
~Distributed()
|
|
569
|
+
{
|
|
570
|
+
delete _par;
|
|
571
|
+
_par = 0;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Gets parameter of the algorithm
|
|
576
|
+
* \return parameter of the algorithm
|
|
577
|
+
*/
|
|
578
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Gets parameter of the algorithm
|
|
582
|
+
* \return parameter of the algorithm
|
|
583
|
+
*/
|
|
584
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Returns the method of the algorithm
|
|
588
|
+
* \return Method of the algorithm
|
|
589
|
+
*/
|
|
590
|
+
int getMethod() const override { return (int)method; }
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Returns the structure that contains computed partial results
|
|
594
|
+
* \return Structure that contains computed partial results
|
|
595
|
+
*/
|
|
596
|
+
DistributedPartialResultStep5Ptr getPartialResult() { return _partialResult; }
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Sets the structure that contains computed partial results
|
|
600
|
+
*/
|
|
601
|
+
services::Status setPartialResult(const DistributedPartialResultStep5Ptr & partialRes)
|
|
602
|
+
{
|
|
603
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
604
|
+
_partialResult = partialRes;
|
|
605
|
+
_pres = _partialResult.get();
|
|
606
|
+
return services::Status();
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
611
|
+
* and parameters of this DBSCAN algorithm
|
|
612
|
+
* \return Pointer to the newly allocated algorithm
|
|
613
|
+
*/
|
|
614
|
+
services::SharedPtr<Distributed<step5Local, algorithmFPType, method> > clone() const
|
|
615
|
+
{
|
|
616
|
+
return services::SharedPtr<Distributed<step5Local, algorithmFPType, method> >(cloneImpl());
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
protected:
|
|
620
|
+
Distributed<step5Local, algorithmFPType, method> * cloneImpl() const override
|
|
621
|
+
{
|
|
622
|
+
return new Distributed<step5Local, algorithmFPType, method>(*this);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
626
|
+
|
|
627
|
+
services::Status allocatePartialResult() override
|
|
628
|
+
{
|
|
629
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
630
|
+
_pres = _partialResult.get();
|
|
631
|
+
return s;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
635
|
+
|
|
636
|
+
void initialize();
|
|
637
|
+
|
|
638
|
+
public:
|
|
639
|
+
InputType input; /*!< %Input data structure */
|
|
640
|
+
|
|
641
|
+
private:
|
|
642
|
+
DistributedPartialResultStep5Ptr _partialResult;
|
|
643
|
+
|
|
644
|
+
Distributed & operator=(const Distributed &);
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP6LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
649
|
+
* \brief Computes the results of the DBSCAN algorithm in the sixth step of the distributed processing mode
|
|
650
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
651
|
+
*
|
|
652
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
653
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
654
|
+
*
|
|
655
|
+
* \par Enumerations
|
|
656
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
657
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
658
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
659
|
+
*/
|
|
660
|
+
template <typename algorithmFPType, Method method>
|
|
661
|
+
class Distributed<step6Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
662
|
+
{
|
|
663
|
+
public:
|
|
664
|
+
typedef algorithms::dbscan::DistributedInput<step6Local> InputType;
|
|
665
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
666
|
+
typedef algorithms::dbscan::DistributedPartialResultStep6 PartialResultType;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Constructs a DBSCAN algorithm
|
|
670
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
671
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
672
|
+
* \param[in] epsilon Radius of neighborhood
|
|
673
|
+
* \param[in] minObservations Minimal total weight of observations in neighborhood of core observation
|
|
674
|
+
*/
|
|
675
|
+
Distributed(size_t blockIndex, size_t nBlocks, algorithmFPType epsilon, size_t minObservations);
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
679
|
+
* of another DBSCAN algorithm
|
|
680
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
681
|
+
* and parameters of the algorithm
|
|
682
|
+
*/
|
|
683
|
+
Distributed(const Distributed<step6Local, algorithmFPType, method> & other);
|
|
684
|
+
|
|
685
|
+
~Distributed()
|
|
686
|
+
{
|
|
687
|
+
delete _par;
|
|
688
|
+
_par = 0;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Gets parameter of the algorithm
|
|
693
|
+
* \return parameter of the algorithm
|
|
694
|
+
*/
|
|
695
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Gets parameter of the algorithm
|
|
699
|
+
* \return parameter of the algorithm
|
|
700
|
+
*/
|
|
701
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Returns the method of the algorithm
|
|
705
|
+
* \return Method of the algorithm
|
|
706
|
+
*/
|
|
707
|
+
int getMethod() const override { return (int)method; }
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Returns the structure that contains computed partial results
|
|
711
|
+
* \return Structure that contains computed partial results
|
|
712
|
+
*/
|
|
713
|
+
DistributedPartialResultStep6Ptr getPartialResult() { return _partialResult; }
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Sets the structure that contains computed partial results
|
|
717
|
+
*/
|
|
718
|
+
services::Status setPartialResult(const DistributedPartialResultStep6Ptr & partialRes)
|
|
719
|
+
{
|
|
720
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
721
|
+
_partialResult = partialRes;
|
|
722
|
+
_pres = _partialResult.get();
|
|
723
|
+
return services::Status();
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
728
|
+
* and parameters of this DBSCAN algorithm
|
|
729
|
+
* \return Pointer to the newly allocated algorithm
|
|
730
|
+
*/
|
|
731
|
+
services::SharedPtr<Distributed<step6Local, algorithmFPType, method> > clone() const
|
|
732
|
+
{
|
|
733
|
+
return services::SharedPtr<Distributed<step6Local, algorithmFPType, method> >(cloneImpl());
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
protected:
|
|
737
|
+
Distributed<step6Local, algorithmFPType, method> * cloneImpl() const override
|
|
738
|
+
{
|
|
739
|
+
return new Distributed<step6Local, algorithmFPType, method>(*this);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
743
|
+
|
|
744
|
+
services::Status allocatePartialResult() override
|
|
745
|
+
{
|
|
746
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
747
|
+
_pres = _partialResult.get();
|
|
748
|
+
return s;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
752
|
+
|
|
753
|
+
void initialize();
|
|
754
|
+
|
|
755
|
+
public:
|
|
756
|
+
InputType input; /*!< %Input data structure */
|
|
757
|
+
|
|
758
|
+
private:
|
|
759
|
+
DistributedPartialResultStep6Ptr _partialResult;
|
|
760
|
+
|
|
761
|
+
Distributed & operator=(const Distributed &);
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP7MASTER_ALGORITHMFPTYPE_METHOD"></a>
|
|
766
|
+
* \brief Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode
|
|
767
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
768
|
+
*
|
|
769
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
770
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
771
|
+
*
|
|
772
|
+
* \par Enumerations
|
|
773
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
774
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
775
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
776
|
+
*/
|
|
777
|
+
template <typename algorithmFPType, Method method>
|
|
778
|
+
class Distributed<step7Master, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
779
|
+
{
|
|
780
|
+
public:
|
|
781
|
+
typedef algorithms::dbscan::DistributedInput<step7Master> InputType;
|
|
782
|
+
typedef algorithms::dbscan::DistributedPartialResultStep7 PartialResultType;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Constructs a DBSCAN algorithm
|
|
786
|
+
*/
|
|
787
|
+
Distributed();
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
791
|
+
* of another DBSCAN algorithm
|
|
792
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
793
|
+
* and parameters of the algorithm
|
|
794
|
+
*/
|
|
795
|
+
Distributed(const Distributed<step7Master, algorithmFPType, method> & other);
|
|
796
|
+
|
|
797
|
+
~Distributed() {}
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Returns the method of the algorithm
|
|
801
|
+
* \return Method of the algorithm
|
|
802
|
+
*/
|
|
803
|
+
int getMethod() const override { return (int)method; }
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Returns the structure that contains computed partial results
|
|
807
|
+
* \return Structure that contains computed partial results
|
|
808
|
+
*/
|
|
809
|
+
DistributedPartialResultStep7Ptr getPartialResult() { return _partialResult; }
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Sets the structure that contains computed partial results
|
|
813
|
+
*/
|
|
814
|
+
services::Status setPartialResult(const DistributedPartialResultStep7Ptr & partialResult)
|
|
815
|
+
{
|
|
816
|
+
DAAL_CHECK(partialResult, services::ErrorNullPartialResult)
|
|
817
|
+
_partialResult = partialResult;
|
|
818
|
+
_pres = _partialResult.get();
|
|
819
|
+
return services::Status();
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
824
|
+
* and parameters of this DBSCAN algorithm
|
|
825
|
+
* \return Pointer to the newly allocated algorithm
|
|
826
|
+
*/
|
|
827
|
+
services::SharedPtr<Distributed<step7Master, algorithmFPType, method> > clone() const
|
|
828
|
+
{
|
|
829
|
+
return services::SharedPtr<Distributed<step7Master, algorithmFPType, method> >(cloneImpl());
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Validates result parameters of the finalizeCompute method
|
|
834
|
+
*/
|
|
835
|
+
services::Status checkPartialResult() override { return services::Status(); }
|
|
836
|
+
|
|
837
|
+
protected:
|
|
838
|
+
Distributed<step7Master, algorithmFPType, method> * cloneImpl() const override
|
|
839
|
+
{
|
|
840
|
+
return new Distributed<step7Master, algorithmFPType, method>(*this);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
844
|
+
|
|
845
|
+
services::Status allocatePartialResult() override
|
|
846
|
+
{
|
|
847
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
848
|
+
_pres = _partialResult.get();
|
|
849
|
+
return services::Status();
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
853
|
+
|
|
854
|
+
void initialize();
|
|
855
|
+
|
|
856
|
+
public:
|
|
857
|
+
InputType input; /*!< %Input data structure */
|
|
858
|
+
|
|
859
|
+
private:
|
|
860
|
+
DistributedPartialResultStep7Ptr _partialResult;
|
|
861
|
+
|
|
862
|
+
Distributed & operator=(const Distributed &);
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP8LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
867
|
+
* \brief Computes the results of the DBSCAN algorithm in the eighth step of the distributed processing mode
|
|
868
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
869
|
+
*
|
|
870
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
871
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
872
|
+
*
|
|
873
|
+
* \par Enumerations
|
|
874
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
875
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
876
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
877
|
+
*/
|
|
878
|
+
template <typename algorithmFPType, Method method>
|
|
879
|
+
class Distributed<step8Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
880
|
+
{
|
|
881
|
+
public:
|
|
882
|
+
typedef algorithms::dbscan::DistributedInput<step8Local> InputType;
|
|
883
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
884
|
+
typedef algorithms::dbscan::DistributedPartialResultStep8 PartialResultType;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Constructs a DBSCAN algorithm
|
|
888
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
889
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
890
|
+
*/
|
|
891
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
895
|
+
* of another DBSCAN algorithm
|
|
896
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
897
|
+
* and parameters of the algorithm
|
|
898
|
+
*/
|
|
899
|
+
Distributed(const Distributed<step8Local, algorithmFPType, method> & other);
|
|
900
|
+
|
|
901
|
+
~Distributed()
|
|
902
|
+
{
|
|
903
|
+
delete _par;
|
|
904
|
+
_par = 0;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Gets parameter of the algorithm
|
|
909
|
+
* \return parameter of the algorithm
|
|
910
|
+
*/
|
|
911
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Gets parameter of the algorithm
|
|
915
|
+
* \return parameter of the algorithm
|
|
916
|
+
*/
|
|
917
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Returns the method of the algorithm
|
|
921
|
+
* \return Method of the algorithm
|
|
922
|
+
*/
|
|
923
|
+
int getMethod() const override { return (int)method; }
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Returns the structure that contains computed partial results
|
|
927
|
+
* \return Structure that contains computed partial results
|
|
928
|
+
*/
|
|
929
|
+
DistributedPartialResultStep8Ptr getPartialResult() { return _partialResult; }
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Sets the structure that contains computed partial results
|
|
933
|
+
*/
|
|
934
|
+
services::Status setPartialResult(const DistributedPartialResultStep8Ptr & partialRes)
|
|
935
|
+
{
|
|
936
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
937
|
+
_partialResult = partialRes;
|
|
938
|
+
_pres = _partialResult.get();
|
|
939
|
+
return services::Status();
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
944
|
+
* and parameters of this DBSCAN algorithm
|
|
945
|
+
* \return Pointer to the newly allocated algorithm
|
|
946
|
+
*/
|
|
947
|
+
services::SharedPtr<Distributed<step8Local, algorithmFPType, method> > clone() const
|
|
948
|
+
{
|
|
949
|
+
return services::SharedPtr<Distributed<step8Local, algorithmFPType, method> >(cloneImpl());
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
protected:
|
|
953
|
+
Distributed<step8Local, algorithmFPType, method> * cloneImpl() const override
|
|
954
|
+
{
|
|
955
|
+
return new Distributed<step8Local, algorithmFPType, method>(*this);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
959
|
+
|
|
960
|
+
services::Status allocatePartialResult() override
|
|
961
|
+
{
|
|
962
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
963
|
+
_pres = _partialResult.get();
|
|
964
|
+
return s;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
968
|
+
|
|
969
|
+
void initialize();
|
|
970
|
+
|
|
971
|
+
public:
|
|
972
|
+
InputType input; /*!< %Input data structure */
|
|
973
|
+
|
|
974
|
+
private:
|
|
975
|
+
DistributedPartialResultStep8Ptr _partialResult;
|
|
976
|
+
|
|
977
|
+
Distributed & operator=(const Distributed &);
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP9MASTER_ALGORITHMFPTYPE_METHOD"></a>
|
|
982
|
+
* \brief Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode
|
|
983
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
984
|
+
*
|
|
985
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
986
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
987
|
+
*
|
|
988
|
+
* \par Enumerations
|
|
989
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
990
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
991
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
992
|
+
*/
|
|
993
|
+
template <typename algorithmFPType, Method method>
|
|
994
|
+
class Distributed<step9Master, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
995
|
+
{
|
|
996
|
+
public:
|
|
997
|
+
typedef algorithms::dbscan::DistributedInput<step9Master> InputType;
|
|
998
|
+
typedef algorithms::dbscan::DistributedResultStep9 ResultType;
|
|
999
|
+
typedef algorithms::dbscan::DistributedPartialResultStep9 PartialResultType;
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Constructs a DBSCAN algorithm
|
|
1003
|
+
*/
|
|
1004
|
+
Distributed();
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
1008
|
+
* of another DBSCAN algorithm
|
|
1009
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
1010
|
+
* and parameters of the algorithm
|
|
1011
|
+
*/
|
|
1012
|
+
Distributed(const Distributed<step9Master, algorithmFPType, method> & other);
|
|
1013
|
+
|
|
1014
|
+
~Distributed() {}
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Returns the method of the algorithm
|
|
1018
|
+
* \return Method of the algorithm
|
|
1019
|
+
*/
|
|
1020
|
+
int getMethod() const override { return (int)method; }
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Returns the structure that contains computed results
|
|
1024
|
+
* \return Structure that contains computed results
|
|
1025
|
+
*/
|
|
1026
|
+
DistributedResultStep9Ptr getResult() { return _result; }
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Sets the structure that contains computed results
|
|
1030
|
+
*/
|
|
1031
|
+
services::Status setResult(const DistributedResultStep9Ptr & result)
|
|
1032
|
+
{
|
|
1033
|
+
DAAL_CHECK(result, services::ErrorNullResult)
|
|
1034
|
+
_result = result;
|
|
1035
|
+
_res = _result.get();
|
|
1036
|
+
return services::Status();
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Returns the structure that contains computed partial results
|
|
1041
|
+
* \return Structure that contains computed partial results
|
|
1042
|
+
*/
|
|
1043
|
+
DistributedPartialResultStep9Ptr getPartialResult() { return _partialResult; }
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Sets the structure that contains computed partial results
|
|
1047
|
+
*/
|
|
1048
|
+
services::Status setPartialResult(const DistributedPartialResultStep9Ptr & partialRes)
|
|
1049
|
+
{
|
|
1050
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
1051
|
+
_partialResult = partialRes;
|
|
1052
|
+
_pres = _partialResult.get();
|
|
1053
|
+
return services::Status();
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
1058
|
+
* and parameters of this DBSCAN algorithm
|
|
1059
|
+
* \return Pointer to the newly allocated algorithm
|
|
1060
|
+
*/
|
|
1061
|
+
services::SharedPtr<Distributed<step9Master, algorithmFPType, method> > clone() const
|
|
1062
|
+
{
|
|
1063
|
+
return services::SharedPtr<Distributed<step9Master, algorithmFPType, method> >(cloneImpl());
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
protected:
|
|
1067
|
+
Distributed<step9Master, algorithmFPType, method> * cloneImpl() const override
|
|
1068
|
+
{
|
|
1069
|
+
return new Distributed<step9Master, algorithmFPType, method>(*this);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
services::Status allocateResult() override
|
|
1073
|
+
{
|
|
1074
|
+
services::Status s = _result->allocate<algorithmFPType>(_pres, _par, (int)method);
|
|
1075
|
+
_res = _result.get();
|
|
1076
|
+
return services::Status();
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
services::Status allocatePartialResult() override
|
|
1080
|
+
{
|
|
1081
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
1082
|
+
_pres = _partialResult.get();
|
|
1083
|
+
return s;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
1087
|
+
|
|
1088
|
+
void initialize();
|
|
1089
|
+
|
|
1090
|
+
public:
|
|
1091
|
+
InputType input; /*!< %Input data structure */
|
|
1092
|
+
|
|
1093
|
+
private:
|
|
1094
|
+
DistributedResultStep9Ptr _result;
|
|
1095
|
+
DistributedPartialResultStep9Ptr _partialResult;
|
|
1096
|
+
|
|
1097
|
+
Distributed & operator=(const Distributed &);
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP10LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
1102
|
+
* \brief Computes the results of the DBSCAN algorithm in the tenth step of the distributed processing mode
|
|
1103
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
1104
|
+
*
|
|
1105
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
1106
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
1107
|
+
*
|
|
1108
|
+
* \par Enumerations
|
|
1109
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
1110
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
1111
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
1112
|
+
*/
|
|
1113
|
+
template <typename algorithmFPType, Method method>
|
|
1114
|
+
class Distributed<step10Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
1115
|
+
{
|
|
1116
|
+
public:
|
|
1117
|
+
typedef algorithms::dbscan::DistributedInput<step10Local> InputType;
|
|
1118
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
1119
|
+
typedef algorithms::dbscan::DistributedPartialResultStep10 PartialResultType;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Constructs a DBSCAN algorithm
|
|
1123
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
1124
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
1125
|
+
*/
|
|
1126
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
1130
|
+
* of another DBSCAN algorithm
|
|
1131
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
1132
|
+
* and parameters of the algorithm
|
|
1133
|
+
*/
|
|
1134
|
+
Distributed(const Distributed<step10Local, algorithmFPType, method> & other);
|
|
1135
|
+
|
|
1136
|
+
~Distributed()
|
|
1137
|
+
{
|
|
1138
|
+
delete _par;
|
|
1139
|
+
_par = 0;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Gets parameter of the algorithm
|
|
1144
|
+
* \return parameter of the algorithm
|
|
1145
|
+
*/
|
|
1146
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Gets parameter of the algorithm
|
|
1150
|
+
* \return parameter of the algorithm
|
|
1151
|
+
*/
|
|
1152
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Returns the method of the algorithm
|
|
1156
|
+
* \return Method of the algorithm
|
|
1157
|
+
*/
|
|
1158
|
+
int getMethod() const override { return (int)method; }
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Returns the structure that contains computed partial results
|
|
1162
|
+
* \return Structure that contains computed partial results
|
|
1163
|
+
*/
|
|
1164
|
+
DistributedPartialResultStep10Ptr getPartialResult() { return _partialResult; }
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* Sets the structure that contains computed partial results
|
|
1168
|
+
*/
|
|
1169
|
+
services::Status setPartialResult(const DistributedPartialResultStep10Ptr & partialRes)
|
|
1170
|
+
{
|
|
1171
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
1172
|
+
_partialResult = partialRes;
|
|
1173
|
+
_pres = _partialResult.get();
|
|
1174
|
+
return services::Status();
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
1179
|
+
* and parameters of this DBSCAN algorithm
|
|
1180
|
+
* \return Pointer to the newly allocated algorithm
|
|
1181
|
+
*/
|
|
1182
|
+
services::SharedPtr<Distributed<step10Local, algorithmFPType, method> > clone() const
|
|
1183
|
+
{
|
|
1184
|
+
return services::SharedPtr<Distributed<step10Local, algorithmFPType, method> >(cloneImpl());
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
protected:
|
|
1188
|
+
Distributed<step10Local, algorithmFPType, method> * cloneImpl() const override
|
|
1189
|
+
{
|
|
1190
|
+
return new Distributed<step10Local, algorithmFPType, method>(*this);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
1194
|
+
|
|
1195
|
+
services::Status allocatePartialResult() override
|
|
1196
|
+
{
|
|
1197
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
1198
|
+
_pres = _partialResult.get();
|
|
1199
|
+
return s;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
1203
|
+
|
|
1204
|
+
void initialize();
|
|
1205
|
+
|
|
1206
|
+
public:
|
|
1207
|
+
InputType input; /*!< %Input data structure */
|
|
1208
|
+
|
|
1209
|
+
private:
|
|
1210
|
+
DistributedPartialResultStep10Ptr _partialResult;
|
|
1211
|
+
|
|
1212
|
+
Distributed & operator=(const Distributed &);
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP11LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
1217
|
+
* \brief Computes the results of the DBSCAN algorithm in the eleventh step of the distributed processing mode
|
|
1218
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
1219
|
+
*
|
|
1220
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
1221
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
1222
|
+
*
|
|
1223
|
+
* \par Enumerations
|
|
1224
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
1225
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
1226
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
1227
|
+
*/
|
|
1228
|
+
template <typename algorithmFPType, Method method>
|
|
1229
|
+
class Distributed<step11Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
1230
|
+
{
|
|
1231
|
+
public:
|
|
1232
|
+
typedef algorithms::dbscan::DistributedInput<step11Local> InputType;
|
|
1233
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
1234
|
+
typedef algorithms::dbscan::DistributedPartialResultStep11 PartialResultType;
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Constructs a DBSCAN algorithm
|
|
1238
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
1239
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
1240
|
+
*/
|
|
1241
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
1245
|
+
* of another DBSCAN algorithm
|
|
1246
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
1247
|
+
* and parameters of the algorithm
|
|
1248
|
+
*/
|
|
1249
|
+
Distributed(const Distributed<step11Local, algorithmFPType, method> & other);
|
|
1250
|
+
|
|
1251
|
+
~Distributed()
|
|
1252
|
+
{
|
|
1253
|
+
delete _par;
|
|
1254
|
+
_par = 0;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Gets parameter of the algorithm
|
|
1259
|
+
* \return parameter of the algorithm
|
|
1260
|
+
*/
|
|
1261
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Gets parameter of the algorithm
|
|
1265
|
+
* \return parameter of the algorithm
|
|
1266
|
+
*/
|
|
1267
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Returns the method of the algorithm
|
|
1271
|
+
* \return Method of the algorithm
|
|
1272
|
+
*/
|
|
1273
|
+
int getMethod() const override { return (int)method; }
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* Returns the structure that contains computed partial results
|
|
1277
|
+
* \return Structure that contains computed partial results
|
|
1278
|
+
*/
|
|
1279
|
+
DistributedPartialResultStep11Ptr getPartialResult() { return _partialResult; }
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Sets the structure that contains computed partial results
|
|
1283
|
+
*/
|
|
1284
|
+
services::Status setPartialResult(const DistributedPartialResultStep11Ptr & partialRes)
|
|
1285
|
+
{
|
|
1286
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
1287
|
+
_partialResult = partialRes;
|
|
1288
|
+
_pres = _partialResult.get();
|
|
1289
|
+
return services::Status();
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
1294
|
+
* and parameters of this DBSCAN algorithm
|
|
1295
|
+
* \return Pointer to the newly allocated algorithm
|
|
1296
|
+
*/
|
|
1297
|
+
services::SharedPtr<Distributed<step11Local, algorithmFPType, method> > clone() const
|
|
1298
|
+
{
|
|
1299
|
+
return services::SharedPtr<Distributed<step11Local, algorithmFPType, method> >(cloneImpl());
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
protected:
|
|
1303
|
+
Distributed<step11Local, algorithmFPType, method> * cloneImpl() const override
|
|
1304
|
+
{
|
|
1305
|
+
return new Distributed<step11Local, algorithmFPType, method>(*this);
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
1309
|
+
|
|
1310
|
+
services::Status allocatePartialResult() override
|
|
1311
|
+
{
|
|
1312
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
1313
|
+
_pres = _partialResult.get();
|
|
1314
|
+
return s;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
1318
|
+
|
|
1319
|
+
void initialize();
|
|
1320
|
+
|
|
1321
|
+
public:
|
|
1322
|
+
InputType input; /*!< %Input data structure */
|
|
1323
|
+
|
|
1324
|
+
private:
|
|
1325
|
+
DistributedPartialResultStep11Ptr _partialResult;
|
|
1326
|
+
|
|
1327
|
+
Distributed & operator=(const Distributed &);
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP12LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
1332
|
+
* \brief Computes the results of the DBSCAN algorithm in the eighth step of the distributed processing mode
|
|
1333
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
1334
|
+
*
|
|
1335
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
1336
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
1337
|
+
*
|
|
1338
|
+
* \par Enumerations
|
|
1339
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
1340
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
1341
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
1342
|
+
*/
|
|
1343
|
+
template <typename algorithmFPType, Method method>
|
|
1344
|
+
class Distributed<step12Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
1345
|
+
{
|
|
1346
|
+
public:
|
|
1347
|
+
typedef algorithms::dbscan::DistributedInput<step12Local> InputType;
|
|
1348
|
+
typedef algorithms::dbscan::Parameter ParameterType;
|
|
1349
|
+
typedef algorithms::dbscan::DistributedPartialResultStep12 PartialResultType;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Constructs a DBSCAN algorithm
|
|
1353
|
+
* \param[in] blockIndex Unique identifier of block initially passed for computation on the local node
|
|
1354
|
+
* \param[in] nBlocks Number of blocks initially passed for computation on all nodes
|
|
1355
|
+
*/
|
|
1356
|
+
Distributed(size_t blockIndex, size_t nBlocks);
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
1360
|
+
* of another DBSCAN algorithm
|
|
1361
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
1362
|
+
* and parameters of the algorithm
|
|
1363
|
+
*/
|
|
1364
|
+
Distributed(const Distributed<step12Local, algorithmFPType, method> & other);
|
|
1365
|
+
|
|
1366
|
+
~Distributed()
|
|
1367
|
+
{
|
|
1368
|
+
delete _par;
|
|
1369
|
+
_par = 0;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Gets parameter of the algorithm
|
|
1374
|
+
* \return parameter of the algorithm
|
|
1375
|
+
*/
|
|
1376
|
+
ParameterType & parameter() { return *static_cast<ParameterType *>(_par); }
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Gets parameter of the algorithm
|
|
1380
|
+
* \return parameter of the algorithm
|
|
1381
|
+
*/
|
|
1382
|
+
const ParameterType & parameter() const { return *static_cast<const ParameterType *>(_par); }
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Returns the method of the algorithm
|
|
1386
|
+
* \return Method of the algorithm
|
|
1387
|
+
*/
|
|
1388
|
+
int getMethod() const override { return (int)method; }
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* Returns the structure that contains computed partial results
|
|
1392
|
+
* \return Structure that contains computed partial results
|
|
1393
|
+
*/
|
|
1394
|
+
DistributedPartialResultStep12Ptr getPartialResult() { return _partialResult; }
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Sets the structure that contains computed partial results
|
|
1398
|
+
*/
|
|
1399
|
+
services::Status setPartialResult(const DistributedPartialResultStep12Ptr & partialRes)
|
|
1400
|
+
{
|
|
1401
|
+
DAAL_CHECK(partialRes, services::ErrorNullPartialResult);
|
|
1402
|
+
_partialResult = partialRes;
|
|
1403
|
+
_pres = _partialResult.get();
|
|
1404
|
+
return services::Status();
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
1409
|
+
* and parameters of this DBSCAN algorithm
|
|
1410
|
+
* \return Pointer to the newly allocated algorithm
|
|
1411
|
+
*/
|
|
1412
|
+
services::SharedPtr<Distributed<step12Local, algorithmFPType, method> > clone() const
|
|
1413
|
+
{
|
|
1414
|
+
return services::SharedPtr<Distributed<step12Local, algorithmFPType, method> >(cloneImpl());
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
protected:
|
|
1418
|
+
Distributed<step12Local, algorithmFPType, method> * cloneImpl() const override
|
|
1419
|
+
{
|
|
1420
|
+
return new Distributed<step12Local, algorithmFPType, method>(*this);
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
services::Status allocateResult() override { return services::Status(); }
|
|
1424
|
+
|
|
1425
|
+
services::Status allocatePartialResult() override
|
|
1426
|
+
{
|
|
1427
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
1428
|
+
_pres = _partialResult.get();
|
|
1429
|
+
return s;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
1433
|
+
|
|
1434
|
+
void initialize();
|
|
1435
|
+
|
|
1436
|
+
public:
|
|
1437
|
+
InputType input; /*!< %Input data structure */
|
|
1438
|
+
|
|
1439
|
+
private:
|
|
1440
|
+
DistributedPartialResultStep12Ptr _partialResult;
|
|
1441
|
+
|
|
1442
|
+
Distributed & operator=(const Distributed &);
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* <a name="DAAL-CLASS-ALGORITHMS__DBSCAN__DISTRIBUTED_STEP13LOCAL_ALGORITHMFPTYPE_METHOD"></a>
|
|
1447
|
+
* \brief Computes the results of the DBSCAN algorithm in the seventh step of the distributed processing mode
|
|
1448
|
+
* <!-- \n<a href="DAAL-REF-DBSCAN-ALGORITHM">DBSCAN algorithm description and usage models</a> -->
|
|
1449
|
+
*
|
|
1450
|
+
* \tparam algorithmFPType Data type to use in intermediate computations of DBSCAN, double or float
|
|
1451
|
+
* \tparam method Computation method of the algorithm, \ref Method
|
|
1452
|
+
*
|
|
1453
|
+
* \par Enumerations
|
|
1454
|
+
* - \ref Method Computation methods for the DBSCAN algorithm
|
|
1455
|
+
* - \ref InputId Identifiers of input objects for the DBSCAN algorithm
|
|
1456
|
+
* - \ref ResultId Identifiers of results of the DBSCAN algorithm
|
|
1457
|
+
*/
|
|
1458
|
+
template <typename algorithmFPType, Method method>
|
|
1459
|
+
class Distributed<step13Local, algorithmFPType, method> : public daal::algorithms::Analysis<distributed>
|
|
1460
|
+
{
|
|
1461
|
+
public:
|
|
1462
|
+
typedef algorithms::dbscan::DistributedInput<step13Local> InputType;
|
|
1463
|
+
typedef algorithms::dbscan::DistributedResultStep13 ResultType;
|
|
1464
|
+
typedef algorithms::dbscan::DistributedPartialResultStep13 PartialResultType;
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Constructs a DBSCAN algorithm
|
|
1468
|
+
*/
|
|
1469
|
+
Distributed();
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Constructs a DBSCAN algorithm by copying input objects and parameters
|
|
1473
|
+
* of another DBSCAN algorithm
|
|
1474
|
+
* \param[in] other An algorithm to be used as the source to initialize the input objects
|
|
1475
|
+
* and parameters of the algorithm
|
|
1476
|
+
*/
|
|
1477
|
+
Distributed(const Distributed<step13Local, algorithmFPType, method> & other);
|
|
1478
|
+
|
|
1479
|
+
~Distributed() {}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Returns the method of the algorithm
|
|
1483
|
+
* \return Method of the algorithm
|
|
1484
|
+
*/
|
|
1485
|
+
int getMethod() const override { return (int)method; }
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Returns the structure that contains computed results
|
|
1489
|
+
* \return Structure that contains computed results
|
|
1490
|
+
*/
|
|
1491
|
+
DistributedResultStep13Ptr getResult() { return _result; }
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Sets the structure that contains computed results
|
|
1495
|
+
*/
|
|
1496
|
+
services::Status setResult(const DistributedResultStep13Ptr & result)
|
|
1497
|
+
{
|
|
1498
|
+
DAAL_CHECK(result, services::ErrorNullResult)
|
|
1499
|
+
_result = result;
|
|
1500
|
+
_res = _result.get();
|
|
1501
|
+
return services::Status();
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Returns the structure that contains computed partial results
|
|
1506
|
+
* \return Structure that contains computed partial results
|
|
1507
|
+
*/
|
|
1508
|
+
DistributedPartialResultStep13Ptr getPartialResult() { return _partialResult; }
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* Sets the structure that contains computed partial results
|
|
1512
|
+
*/
|
|
1513
|
+
services::Status setPartialResult(const DistributedPartialResultStep13Ptr & partialResult)
|
|
1514
|
+
{
|
|
1515
|
+
DAAL_CHECK(partialResult, services::ErrorNullPartialResult)
|
|
1516
|
+
_partialResult = partialResult;
|
|
1517
|
+
_pres = _partialResult.get();
|
|
1518
|
+
return services::Status();
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects
|
|
1523
|
+
* and parameters of this DBSCAN algorithm
|
|
1524
|
+
* \return Pointer to the newly allocated algorithm
|
|
1525
|
+
*/
|
|
1526
|
+
services::SharedPtr<Distributed<step13Local, algorithmFPType, method> > clone() const
|
|
1527
|
+
{
|
|
1528
|
+
return services::SharedPtr<Distributed<step13Local, algorithmFPType, method> >(cloneImpl());
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* Validates result parameters of the finalizeCompute method
|
|
1533
|
+
*/
|
|
1534
|
+
services::Status checkPartialResult() override { return services::Status(); }
|
|
1535
|
+
|
|
1536
|
+
protected:
|
|
1537
|
+
Distributed<step13Local, algorithmFPType, method> * cloneImpl() const override
|
|
1538
|
+
{
|
|
1539
|
+
return new Distributed<step13Local, algorithmFPType, method>(*this);
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
services::Status allocateResult() override
|
|
1543
|
+
{
|
|
1544
|
+
services::Status s = _result->allocate<algorithmFPType>(_pres, _par, (int)method);
|
|
1545
|
+
_res = _result.get();
|
|
1546
|
+
return services::Status();
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
services::Status allocatePartialResult() override
|
|
1550
|
+
{
|
|
1551
|
+
services::Status s = _partialResult->allocate<algorithmFPType>(&input, _par, (int)method);
|
|
1552
|
+
_pres = _partialResult.get();
|
|
1553
|
+
return services::Status();
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
services::Status initializePartialResult() override { return services::Status(); }
|
|
1557
|
+
|
|
1558
|
+
void initialize();
|
|
1559
|
+
|
|
1560
|
+
public:
|
|
1561
|
+
InputType input; /*!< %Input data structure */
|
|
1562
|
+
|
|
1563
|
+
private:
|
|
1564
|
+
DistributedResultStep13Ptr _result;
|
|
1565
|
+
DistributedPartialResultStep13Ptr _partialResult;
|
|
1566
|
+
|
|
1567
|
+
Distributed & operator=(const Distributed &);
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
/** @} */
|
|
1571
|
+
} // namespace interface1
|
|
1572
|
+
using interface1::Distributed;
|
|
1573
|
+
|
|
1574
|
+
} // namespace dbscan
|
|
1575
|
+
} // namespace algorithms
|
|
1576
|
+
} // namespace daal
|
|
1577
|
+
#endif
|