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.
Files changed (616) hide show
  1. dal_include-2026.3.0.data/data/Library/include/daal.h +236 -0
  2. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm.h +41 -0
  3. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base.h +34 -0
  4. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_common.h +138 -0
  5. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode.h +187 -0
  6. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode_impl.h +297 -0
  7. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base.h +232 -0
  8. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base_batch.h +144 -0
  9. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_kernel.h +60 -0
  10. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_types.h +547 -0
  11. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/analysis.h +82 -0
  12. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky.h +141 -0
  13. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky_types.h +184 -0
  14. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_model.h +137 -0
  15. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict.h +140 -0
  16. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict_types.h +238 -0
  17. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_batch.h +127 -0
  18. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_online.h +144 -0
  19. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_types.h +257 -0
  20. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/tree_traverse.h +86 -0
  21. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_batch.h +229 -0
  22. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_distributed.h +495 -0
  23. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_online.h +266 -0
  24. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_types.h +454 -0
  25. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_batch.h +159 -0
  26. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_distributed.h +1577 -0
  27. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_types.h +2341 -0
  28. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model.h +137 -0
  29. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model_builder.h +210 -0
  30. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict.h +168 -0
  31. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict_types.h +144 -0
  32. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_batch.h +168 -0
  33. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_types.h +216 -0
  34. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_model.h +137 -0
  35. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict.h +135 -0
  36. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict_types.h +219 -0
  37. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_batch.h +165 -0
  38. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_types.h +286 -0
  39. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_training_parameter.h +172 -0
  40. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance.h +134 -0
  41. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance_types.h +177 -0
  42. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance.h +134 -0
  43. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance_types.h +177 -0
  44. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_model.h +87 -0
  45. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict.h +136 -0
  46. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict_types.h +183 -0
  47. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_batch.h +162 -0
  48. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_types.h +356 -0
  49. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm.h +135 -0
  50. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_covariance_storage_id.h +52 -0
  51. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_batch.h +133 -0
  52. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_types.h +264 -0
  53. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_types.h +310 -0
  54. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine.h +112 -0
  55. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_family.h +108 -0
  56. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_types.h +196 -0
  57. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59.h +149 -0
  58. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59_types.h +64 -0
  59. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a.h +152 -0
  60. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a_types.h +65 -0
  61. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937.h +149 -0
  62. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937_types.h +64 -0
  63. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203.h +150 -0
  64. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203_types.h +64 -0
  65. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10.h +152 -0
  66. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10_types.h +65 -0
  67. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model.h +153 -0
  68. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model_builder.h +179 -0
  69. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict.h +165 -0
  70. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict_types.h +243 -0
  71. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_batch.h +164 -0
  72. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_types.h +190 -0
  73. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model.h +156 -0
  74. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model_builder.h +175 -0
  75. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict.h +149 -0
  76. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict_types.h +244 -0
  77. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_batch.h +163 -0
  78. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_types.h +254 -0
  79. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_training_parameter.h +132 -0
  80. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_model.h +295 -0
  81. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_batch.h +142 -0
  82. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_distributed.h +198 -0
  83. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_types.h +369 -0
  84. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_batch.h +137 -0
  85. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_distributed.h +474 -0
  86. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_batch.h +139 -0
  87. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_distributed.h +257 -0
  88. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_types.h +562 -0
  89. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_types.h +843 -0
  90. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_model.h +227 -0
  91. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict.h +176 -0
  92. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict_types.h +193 -0
  93. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_batch.h +174 -0
  94. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_types.h +139 -0
  95. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h +209 -0
  96. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict.h +161 -0
  97. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict_types.h +193 -0
  98. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_batch.h +159 -0
  99. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_types.h +138 -0
  100. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function.h +121 -0
  101. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_linear.h +137 -0
  102. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_rbf.h +136 -0
  103. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types.h +201 -0
  104. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_linear.h +111 -0
  105. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_rbf.h +110 -0
  106. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_batch.h +156 -0
  107. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_distributed.h +383 -0
  108. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_batch.h +164 -0
  109. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_distributed.h +873 -0
  110. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_types.h +1135 -0
  111. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_types.h +425 -0
  112. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_model.h +87 -0
  113. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict.h +136 -0
  114. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict_types.h +183 -0
  115. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_batch.h +166 -0
  116. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_types.h +354 -0
  117. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_model.h +142 -0
  118. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict.h +91 -0
  119. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict_types.h +211 -0
  120. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_batch.h +74 -0
  121. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_online.h +83 -0
  122. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_types.h +229 -0
  123. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model.h +103 -0
  124. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model_builder.h +149 -0
  125. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_ne_model.h +83 -0
  126. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict.h +165 -0
  127. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict_types.h +179 -0
  128. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_qr_model.h +84 -0
  129. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_batch.h +151 -0
  130. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_distributed.h +275 -0
  131. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_online.h +155 -0
  132. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_types.h +430 -0
  133. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model.h +101 -0
  134. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model_builder.h +204 -0
  135. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict.h +164 -0
  136. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict_types.h +153 -0
  137. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_batch.h +166 -0
  138. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_types.h +163 -0
  139. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/model.h +85 -0
  140. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_batch.h +206 -0
  141. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_distributed.h +255 -0
  142. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_online.h +172 -0
  143. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_types.h +422 -0
  144. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model.h +210 -0
  145. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model_builder.h +127 -0
  146. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict.h +181 -0
  147. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict_types.h +196 -0
  148. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train.h +168 -0
  149. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train_types.h +121 -0
  150. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax.h +141 -0
  151. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax_types.h +244 -0
  152. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore.h +227 -0
  153. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore_types.h +309 -0
  154. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_batch.h +162 -0
  155. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_types.h +195 -0
  156. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_batch.h +124 -0
  157. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_types.h +322 -0
  158. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_batch.h +157 -0
  159. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_types.h +250 -0
  160. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_batch.h +156 -0
  161. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_types.h +178 -0
  162. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_batch.h +155 -0
  163. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_types.h +177 -0
  164. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_batch.h +149 -0
  165. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_types.h +224 -0
  166. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_batch.h +130 -0
  167. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_types.h +253 -0
  168. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_batch.h +153 -0
  169. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_types.h +58 -0
  170. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_batch.h +127 -0
  171. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_types.h +166 -0
  172. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/optimization_solver_batch.h +63 -0
  173. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_batch.h +144 -0
  174. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_distributed.h +361 -0
  175. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_online.h +295 -0
  176. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_types.h +850 -0
  177. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_batch.h +143 -0
  178. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_types.h +253 -0
  179. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_batch.h +134 -0
  180. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_types.h +196 -0
  181. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/prediction.h +62 -0
  182. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_batch.h +134 -0
  183. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_distributed.h +372 -0
  184. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_online.h +174 -0
  185. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_types.h +662 -0
  186. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_model.h +88 -0
  187. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict.h +101 -0
  188. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict_types.h +193 -0
  189. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_batch.h +110 -0
  190. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_online.h +115 -0
  191. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_types.h +212 -0
  192. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/tree_traverse.h +90 -0
  193. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_model.h +123 -0
  194. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_ne_model.h +85 -0
  195. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict.h +167 -0
  196. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict_types.h +186 -0
  197. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_batch.h +150 -0
  198. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_distributed.h +268 -0
  199. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_online.h +153 -0
  200. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_types.h +432 -0
  201. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_batch.h +132 -0
  202. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_distributed.h +353 -0
  203. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_online.h +193 -0
  204. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_types.h +674 -0
  205. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model.h +170 -0
  206. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model_builder.h +174 -0
  207. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict.h +139 -0
  208. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict_types.h +125 -0
  209. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train.h +163 -0
  210. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train_types.h +119 -0
  211. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/training.h +70 -0
  212. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils.h +100 -0
  213. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_classification.h +70 -0
  214. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_regression.h +69 -0
  215. dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tsne/tsne_gradient_descent.h +41 -0
  216. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/aos_numeric_table.h +530 -0
  217. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/arrow_numeric_table.h +451 -0
  218. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/csr_numeric_table.h +1076 -0
  219. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_archive.h +1024 -0
  220. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_block.h +141 -0
  221. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_collection.h +336 -0
  222. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_dictionary.h +466 -0
  223. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_serialize.h +159 -0
  224. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/factory.h +133 -0
  225. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/homogen_numeric_table.h +960 -0
  226. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/input_collection.h +43 -0
  227. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/base_arrow_numeric_table.h +79 -0
  228. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/conversion.h +151 -0
  229. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/finiteness_checker.h +43 -0
  230. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/roc_auc_score.h +36 -0
  231. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/train_test_split.h +41 -0
  232. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/memory_block.h +115 -0
  233. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/merged_numeric_table.h +447 -0
  234. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_table.h +977 -0
  235. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_types.h +47 -0
  236. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/row_merged_numeric_table.h +401 -0
  237. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/soa_numeric_table.h +540 -0
  238. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_data_source.h +453 -0
  239. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_feature_manager.h +577 -0
  240. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source.h +739 -0
  241. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_dictionary.h +283 -0
  242. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_utils.h +76 -0
  243. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/file_data_source.h +237 -0
  244. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/csv_feature_utils.h +195 -0
  245. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/data_source_options.h +49 -0
  246. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/default_modifiers.h +260 -0
  247. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/engine.h +225 -0
  248. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/modifier.h +180 -0
  249. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/shortcuts.h +91 -0
  250. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/internal/engine.h +421 -0
  251. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/modifier.h +157 -0
  252. dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/string_data_source.h +178 -0
  253. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/compatibility.h +98 -0
  254. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/defines.h +110 -0
  255. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/identifiers.h +154 -0
  256. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/indices.h +132 -0
  257. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/helpers.h +281 -0
  258. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/identifiers_impl.h +278 -0
  259. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/indices_impl.h +143 -0
  260. dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/shortcuts.h +209 -0
  261. dal_include-2026.3.0.data/data/Library/include/dal/services/base.h +49 -0
  262. dal_include-2026.3.0.data/data/Library/include/dal/services/buffer_view.h +133 -0
  263. dal_include-2026.3.0.data/data/Library/include/dal/services/collection.h +384 -0
  264. dal_include-2026.3.0.data/data/Library/include/dal/services/daal_atomic_int.h +264 -0
  265. dal_include-2026.3.0.data/data/Library/include/dal/services/daal_defines.h +670 -0
  266. dal_include-2026.3.0.data/data/Library/include/dal/services/daal_memory.h +108 -0
  267. dal_include-2026.3.0.data/data/Library/include/dal/services/daal_shared_ptr.h +462 -0
  268. dal_include-2026.3.0.data/data/Library/include/dal/services/daal_string.h +239 -0
  269. dal_include-2026.3.0.data/data/Library/include/dal/services/env_detect.h +183 -0
  270. dal_include-2026.3.0.data/data/Library/include/dal/services/error_handling.h +600 -0
  271. dal_include-2026.3.0.data/data/Library/include/dal/services/error_id.h +110 -0
  272. dal_include-2026.3.0.data/data/Library/include/dal/services/error_indexes.h +445 -0
  273. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/collection.h +258 -0
  274. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_kernel_defines.h +32 -0
  275. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_load_win_dynamic_lib.h +39 -0
  276. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/dynamic_lib_helper.h +127 -0
  277. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/error_handling_helpers.h +75 -0
  278. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/hash_table.h +132 -0
  279. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/status_to_error_id.h +40 -0
  280. dal_include-2026.3.0.data/data/Library/include/dal/services/internal/utilities.h +69 -0
  281. dal_include-2026.3.0.data/data/Library/include/dal/services/library_version_info.h +87 -0
  282. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/common.hpp +200 -0
  283. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute.hpp +31 -0
  284. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute_types.hpp +384 -0
  285. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/compute_ops.hpp +80 -0
  286. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/finalize_compute_ops.hpp +97 -0
  287. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/partial_compute_ops.hpp +78 -0
  288. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/finalize_compute.hpp +31 -0
  289. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/partial_compute.hpp +31 -0
  290. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics.hpp +21 -0
  291. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/chebyshev_distance/common.hpp +127 -0
  292. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/common.hpp +123 -0
  293. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/select_kernel.hpp +66 -0
  294. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_default_kernel.hpp +81 -0
  295. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_ops.hpp +56 -0
  296. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_types.hpp +37 -0
  297. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning.hpp +30 -0
  298. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning_types.hpp +105 -0
  299. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components.hpp +22 -0
  300. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/common.hpp +127 -0
  301. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute.hpp +31 -0
  302. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute_types.hpp +116 -0
  303. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/detail/compute_ops.hpp +96 -0
  304. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance.hpp +19 -0
  305. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/common.hpp +127 -0
  306. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute.hpp +31 -0
  307. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute_types.hpp +116 -0
  308. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/detail/compute_ops.hpp +96 -0
  309. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance.hpp +19 -0
  310. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/common.hpp +202 -0
  311. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute.hpp +31 -0
  312. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute_types.hpp +309 -0
  313. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/compute_ops.hpp +121 -0
  314. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/finalize_compute_ops.hpp +91 -0
  315. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/partial_compute_ops.hpp +81 -0
  316. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/finalize_compute.hpp +31 -0
  317. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/cpu/compute_parameters.hpp +32 -0
  318. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/gpu/compute_parameters.hpp +32 -0
  319. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/partial_compute.hpp +31 -0
  320. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance.hpp +21 -0
  321. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/common.hpp +258 -0
  322. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute.hpp +31 -0
  323. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute_types.hpp +174 -0
  324. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/detail/compute_ops.hpp +75 -0
  325. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan.hpp +19 -0
  326. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/common.hpp +768 -0
  327. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/infer_ops.hpp +102 -0
  328. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/train_ops.hpp +120 -0
  329. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer.hpp +31 -0
  330. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer_types.hpp +178 -0
  331. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/infer_parameters.hpp +59 -0
  332. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/train_parameters.hpp +89 -0
  333. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/infer_parameters.hpp +33 -0
  334. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/train_parameters.hpp +33 -0
  335. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train.hpp +31 -0
  336. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train_types.hpp +284 -0
  337. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest.hpp +20 -0
  338. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/common.hpp +207 -0
  339. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/detail/node_visitor.hpp +74 -0
  340. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/common.hpp +140 -0
  341. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute.hpp +31 -0
  342. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute_types.hpp +98 -0
  343. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/detail/compute_ops.hpp +76 -0
  344. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker.hpp +19 -0
  345. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/common.hpp +408 -0
  346. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute.hpp +31 -0
  347. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute_types.hpp +197 -0
  348. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/detail/compute_ops.hpp +83 -0
  349. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan.hpp +19 -0
  350. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/common.hpp +170 -0
  351. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/select_kernel.hpp +65 -0
  352. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/service.hpp +64 -0
  353. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_default_kernel.hpp +78 -0
  354. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_ops.hpp +91 -0
  355. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_types.hpp +40 -0
  356. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity.hpp +30 -0
  357. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity_types.hpp +110 -0
  358. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard.hpp +22 -0
  359. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/common.hpp +265 -0
  360. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/infer_ops.hpp +84 -0
  361. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_init_centroids.hpp +89 -0
  362. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_ops.hpp +91 -0
  363. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer.hpp +31 -0
  364. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer_types.hpp +144 -0
  365. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train.hpp +31 -0
  366. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train_types.hpp +168 -0
  367. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans.hpp +20 -0
  368. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/common.hpp +221 -0
  369. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute.hpp +31 -0
  370. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute_types.hpp +115 -0
  371. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/detail/compute_ops.hpp +83 -0
  372. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init.hpp +19 -0
  373. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/common.hpp +378 -0
  374. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/distance.hpp +111 -0
  375. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/infer_ops.hpp +72 -0
  376. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/train_ops.hpp +76 -0
  377. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer.hpp +32 -0
  378. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer_types.hpp +152 -0
  379. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train.hpp +32 -0
  380. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train_types.hpp +137 -0
  381. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn.hpp +20 -0
  382. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/common.hpp +156 -0
  383. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute.hpp +31 -0
  384. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute_types.hpp +112 -0
  385. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/detail/compute_ops.hpp +95 -0
  386. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel.hpp +19 -0
  387. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/common.hpp +237 -0
  388. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/finalize_train_ops.hpp +127 -0
  389. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/infer_ops.hpp +68 -0
  390. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/partial_train_ops.hpp +124 -0
  391. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/train_ops.hpp +143 -0
  392. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/finalize_train.hpp +31 -0
  393. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer.hpp +32 -0
  394. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer_types.hpp +111 -0
  395. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/cpu/train_parameters.hpp +38 -0
  396. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/gpu/train_parameters.hpp +38 -0
  397. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/partial_train.hpp +31 -0
  398. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train.hpp +32 -0
  399. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train_types.hpp +340 -0
  400. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression.hpp +22 -0
  401. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/common.hpp +294 -0
  402. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/infer_ops.hpp +69 -0
  403. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/optimizer.hpp +85 -0
  404. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/train_ops.hpp +146 -0
  405. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer.hpp +32 -0
  406. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer_types.hpp +121 -0
  407. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/cpu/train_parameters.hpp +32 -0
  408. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/gpu/train_parameters.hpp +32 -0
  409. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train.hpp +32 -0
  410. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train_types.hpp +197 -0
  411. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression.hpp +20 -0
  412. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logloss_objective/common.hpp +177 -0
  413. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/common.hpp +175 -0
  414. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/select_kernel.hpp +69 -0
  415. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_default_kernel.hpp +127 -0
  416. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_ops.hpp +96 -0
  417. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_types.hpp +40 -0
  418. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning.hpp +30 -0
  419. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning_types.hpp +136 -0
  420. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain.hpp +22 -0
  421. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/minkowski_distance/common.hpp +148 -0
  422. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/newton_cg/common.hpp +162 -0
  423. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/common.hpp +223 -0
  424. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute.hpp +31 -0
  425. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute_types.hpp +159 -0
  426. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/compute_ops.hpp +116 -0
  427. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/objective.hpp +86 -0
  428. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function.hpp +19 -0
  429. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/common.hpp +343 -0
  430. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/finalize_train_ops.hpp +72 -0
  431. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/infer_ops.hpp +97 -0
  432. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/partial_train_ops.hpp +68 -0
  433. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/train_ops.hpp +113 -0
  434. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/finalize_train.hpp +31 -0
  435. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer.hpp +31 -0
  436. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer_types.hpp +112 -0
  437. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/cpu/train_parameters.hpp +38 -0
  438. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/gpu/train_parameters.hpp +38 -0
  439. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/partial_train.hpp +31 -0
  440. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train.hpp +31 -0
  441. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train_types.hpp +379 -0
  442. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca.hpp +22 -0
  443. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/common.hpp +177 -0
  444. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute.hpp +31 -0
  445. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute_types.hpp +112 -0
  446. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/detail/compute_ops.hpp +96 -0
  447. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel.hpp +19 -0
  448. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/common.hpp +141 -0
  449. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute.hpp +31 -0
  450. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute_types.hpp +112 -0
  451. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/detail/compute_ops.hpp +96 -0
  452. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel.hpp +19 -0
  453. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/common.hpp +223 -0
  454. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/select_kernel.hpp +66 -0
  455. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_default_kernel.hpp +114 -0
  456. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_ops.hpp +78 -0
  457. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_types.hpp +37 -0
  458. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse.hpp +30 -0
  459. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse_types.hpp +106 -0
  460. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths.hpp +22 -0
  461. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/common.hpp +161 -0
  462. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute.hpp +31 -0
  463. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute_types.hpp +112 -0
  464. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/detail/compute_ops.hpp +96 -0
  465. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel.hpp +19 -0
  466. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/common.hpp +177 -0
  467. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_default_kernel.hpp +128 -0
  468. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_ops.hpp +94 -0
  469. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_types.hpp +40 -0
  470. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/select_kernel.hpp +105 -0
  471. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching.hpp +30 -0
  472. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.hpp +124 -0
  473. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism.hpp +22 -0
  474. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/common.hpp +573 -0
  475. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/infer_ops.hpp +95 -0
  476. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/kernel_function.hpp +165 -0
  477. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/train_ops.hpp +89 -0
  478. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer.hpp +31 -0
  479. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer_types.hpp +148 -0
  480. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train.hpp +31 -0
  481. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train_types.hpp +211 -0
  482. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm.hpp +20 -0
  483. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/common.hpp +152 -0
  484. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/relabel_kernel.hpp +123 -0
  485. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/select_kernel.hpp +66 -0
  486. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_default_kernel.hpp +256 -0
  487. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_ops.hpp +61 -0
  488. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_types.hpp +37 -0
  489. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking.hpp +30 -0
  490. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking_types.hpp +109 -0
  491. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting.hpp +22 -0
  492. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/array.hpp +758 -0
  493. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/chunked_array.hpp +330 -0
  494. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/common.hpp +158 -0
  495. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/compute.hpp +65 -0
  496. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/archives.hpp +135 -0
  497. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_impl.hpp +456 -0
  498. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_utils.hpp +144 -0
  499. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ccl/communicator.hpp +478 -0
  500. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_impl.hpp +242 -0
  501. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_utils.hpp +94 -0
  502. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/common.hpp +501 -0
  503. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/communicator.hpp +102 -0
  504. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/compute_ops.hpp +40 -0
  505. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu.hpp +107 -0
  506. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info.hpp +43 -0
  507. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_arm_impl.hpp +43 -0
  508. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_iface.hpp +51 -0
  509. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_impl.hpp +49 -0
  510. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_riscv64_impl.hpp +43 -0
  511. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_x86_impl.hpp +45 -0
  512. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/debug.hpp +121 -0
  513. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dispatcher.hpp +52 -0
  514. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dtype_dispatcher.hpp +128 -0
  515. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/error_messages.hpp +368 -0
  516. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_compute_ops.hpp +40 -0
  517. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_train_ops.hpp +40 -0
  518. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context.hpp +46 -0
  519. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context_impl.hpp +38 -0
  520. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/graph_matching_ops.hpp +43 -0
  521. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/hash_map.hpp +146 -0
  522. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/infer_ops.hpp +40 -0
  523. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory.hpp +205 -0
  524. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_dpc.hpp +110 -0
  525. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_host.hpp +94 -0
  526. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/mpi/communicator.hpp +416 -0
  527. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ops_dispatcher.hpp +238 -0
  528. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/paged_vector.hpp +206 -0
  529. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters.hpp +80 -0
  530. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters_impl.hpp +59 -0
  531. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_compute_ops.hpp +40 -0
  532. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_train_ops.hpp +40 -0
  533. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/policy.hpp +147 -0
  534. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/profiler.hpp +99 -0
  535. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/read_ops.hpp +40 -0
  536. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/serialization.hpp +449 -0
  537. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/singleton.hpp +45 -0
  538. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/sparse_matrix_handle_impl.hpp +58 -0
  539. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/spmd_policy.hpp +104 -0
  540. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/threading.hpp +548 -0
  541. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/train_ops.hpp +40 -0
  542. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/traverse_ops.hpp +43 -0
  543. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_partitioning_ops.hpp +44 -0
  544. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_ranking_ops.hpp +43 -0
  545. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_similarity_ops.hpp +44 -0
  546. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/exceptions.hpp +124 -0
  547. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_compute.hpp +65 -0
  548. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_train.hpp +65 -0
  549. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/common.hpp +149 -0
  550. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/common.hpp +36 -0
  551. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/container.hpp +263 -0
  552. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/csr_topology.hpp +140 -0
  553. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_builder.hpp +68 -0
  554. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_impl.hpp +172 -0
  555. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_topology_builder.hpp +48 -0
  556. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/service_functions_impl.hpp +71 -0
  557. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_impl.hpp +144 -0
  558. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_topology_builder.hpp +49 -0
  559. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/directed_adjacency_vector_graph.hpp +176 -0
  560. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/service_functions.hpp +168 -0
  561. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/undirected_adjacency_vector_graph.hpp +173 -0
  562. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph_matching.hpp +33 -0
  563. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/infer.hpp +64 -0
  564. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/common.hpp +127 -0
  565. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/common.hpp +40 -0
  566. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel.hpp +39 -0
  567. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel_impl.hpp +660 -0
  568. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_service.hpp +40 -0
  569. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_ops.hpp +146 -0
  570. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/select_kernel.hpp +51 -0
  571. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read.hpp +31 -0
  572. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read_types.hpp +163 -0
  573. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv.hpp +19 -0
  574. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_compute.hpp +43 -0
  575. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_train.hpp +65 -0
  576. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/read.hpp +42 -0
  577. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/rng.hpp +50 -0
  578. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/ccl/communicator.hpp +80 -0
  579. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/common.hpp +55 -0
  580. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/communicator.hpp +571 -0
  581. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/detail/communicator_utils.hpp +218 -0
  582. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/exceptions.hpp +55 -0
  583. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/mpi/communicator.hpp +55 -0
  584. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/column_accessor.hpp +199 -0
  585. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/common.hpp +174 -0
  586. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr.hpp +424 -0
  587. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr_accessor.hpp +232 -0
  588. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/access_iface_compat.hpp +99 -0
  589. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/columns_access_iface.hpp +156 -0
  590. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_access_iface.hpp +115 -0
  591. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_utils.hpp +66 -0
  592. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/homogen_utils.hpp +40 -0
  593. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/metadata_utils.hpp +149 -0
  594. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/rows_access_iface.hpp +146 -0
  595. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_builder.hpp +308 -0
  596. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_iface.hpp +349 -0
  597. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_kinds.hpp +34 -0
  598. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_utils.hpp +116 -0
  599. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/heterogen.hpp +112 -0
  600. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/homogen.hpp +281 -0
  601. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/row_accessor.hpp +174 -0
  602. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/train.hpp +64 -0
  603. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/traverse.hpp +33 -0
  604. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/common.hpp +48 -0
  605. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/detail/type_traits.hpp +52 -0
  606. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/result_option_id.hpp +96 -0
  607. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_partitioning.hpp +32 -0
  608. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_ranking.hpp +33 -0
  609. dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_similarity.hpp +33 -0
  610. dal_include-2026.3.0.data/data/Library/include/oneapi/dal.hpp +72 -0
  611. dal_include-2026.3.0.data/data/share/doc/dal/licensing/third-party-programs.txt +359 -0
  612. dal_include-2026.3.0.dist-info/LICENSE.txt +25 -0
  613. dal_include-2026.3.0.dist-info/METADATA +23 -0
  614. dal_include-2026.3.0.dist-info/RECORD +616 -0
  615. dal_include-2026.3.0.dist-info/WHEEL +6 -0
  616. dal_include-2026.3.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1135 @@
1
+ /* file: kmeans_init_types.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 initializing K-Means algorithm interface.
21
+ //--
22
+ */
23
+
24
+ #ifndef __KMEANS_INIT_TYPES_H__
25
+ #define __KMEANS_INIT_TYPES_H__
26
+
27
+ #include "algorithms/algorithm.h"
28
+ #include "data_management/data/numeric_table.h"
29
+ #include "data_management/data/homogen_numeric_table.h"
30
+ #include "data_management/data/data_collection.h"
31
+ #include "services/daal_defines.h"
32
+ #include "algorithms/engines/mt19937/mt19937.h"
33
+
34
+ namespace daal
35
+ {
36
+ namespace algorithms
37
+ {
38
+ namespace kmeans
39
+ {
40
+ /**
41
+ * @defgroup kmeans K-means Clustering
42
+ * \copydoc daal::algorithms::kmeans
43
+ * @ingroup analysis
44
+ * @defgroup kmeans_init Initialization
45
+ * \copydoc daal::algorithms::kmeans::init
46
+ * @ingroup kmeans
47
+ * @{
48
+ */
49
+ /** \brief Contains classes for computing initial centroids for K-Means algorithm */
50
+ namespace init
51
+ {
52
+ /**
53
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__METHOD"></a>
54
+ * Available methods for computing initial centroids for K-Means algorithm
55
+ */
56
+ enum Method
57
+ {
58
+ deterministicDense = 0, /*!< Default: uses first nClusters points as initial centroids */
59
+ defaultDense = 0, /*!< Synonym of deterministicDense */
60
+ randomDense = 1, /*!< Uses random nClusters points as initial centroids */
61
+ plusPlusDense = 2, /*!< Kmeans++ algorithm by Arthur and Vassilvitskii (2007):
62
+ http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf [1]
63
+ the first center is selected at random, each subsequent center is
64
+ selected with a probability proportional to its contribution to the overall error */
65
+ parallelPlusDense = 3, /*!< Kmeans|| algorithm: scalable Kmeans++ by Bahmani et al. (2012)
66
+ http://vldb.org/pvldb/vol5/p622_bahmanbahmani_vldb2012.pdf [2]*/
67
+ deterministicCSR = 4, /*!< Uses first nClusters points as initial centroids for data in a CSR numeric table */
68
+ randomCSR = 5, /*!< Uses random nClusters points as initial centroids for data in a CSR numeric table */
69
+ plusPlusCSR = 6, /*!< Kmeans++ algorithm Arthur and Vassilvitskii (2007)
70
+ http://ilpubs.stanford.edu:8090/778/1/2006-13.pdf [1]
71
+ for the data in a CSR numeric table:
72
+ the first center is selected at random, each subsequent center is
73
+ selected with a probability proportional to its contribution to the overall error */
74
+ parallelPlusCSR = 7 /*!< Kmeans|| algorithm: scalable Kmeans++ by Bahmani et al. (2012)
75
+ http://vldb.org/pvldb/vol5/p622_bahmanbahmani_vldb2012.pdf [2]
76
+ for the data in a CSR numeric table */
77
+ };
78
+
79
+ /**
80
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__INPUTID"></a>
81
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
82
+ */
83
+ enum InputId
84
+ {
85
+ data, /*!< %Input data table */
86
+ lastInputId = data
87
+ };
88
+
89
+ /**
90
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2MASTERINPUTID"></a>
91
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm in the distributed processing mode
92
+ */
93
+ enum DistributedStep2MasterInputId
94
+ {
95
+ partialResults, /*!< Collection of partial results computed on local nodes */
96
+ lastDistributedStep2MasterInputId = partialResults
97
+ };
98
+
99
+ /**
100
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDLOCALPLUSPLUSINPUTDATAID"></a>
101
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
102
+ * used with plusPlus and parallelPlus methods only on a local node.
103
+ */
104
+ enum DistributedLocalPlusPlusInputDataId
105
+ {
106
+ internalInput =
107
+ lastDistributedStep2MasterInputId + 1, /*!< %DataCollection with internal algorithm data calculated by previous steps on this node*/
108
+ lastDistributedLocalPlusPlusInputDataId = internalInput
109
+ };
110
+
111
+ /**
112
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSINPUTID"></a>
113
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
114
+ * used with plusPlus and parallelPlus methods only on the 2nd step on a local node.
115
+ */
116
+ enum DistributedStep2LocalPlusPlusInputId
117
+ {
118
+ inputOfStep2 = lastDistributedLocalPlusPlusInputDataId
119
+ + 1, /*!< %Numeric table with the new centroids calculated by previous steps of initialization algorithm */
120
+ lastDistributedStep2LocalPlusPlusInputId = inputOfStep2
121
+ };
122
+
123
+ /**
124
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP3MASTERPLUSPLUSINPUTID"></a>
125
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
126
+ * used with plusPlus and parallelPlus methods only on the 3rd step on a master node.
127
+ */
128
+ enum DistributedStep3MasterPlusPlusInputId
129
+ {
130
+ inputOfStep3FromStep2, /*!< %Numeric table with the data calculated on step2 on local nodes*/
131
+ lastDistributedStep3MasterPlusPlusInputId = inputOfStep3FromStep2
132
+ };
133
+
134
+ /**
135
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP4LOCALPLUSPLUSINPUTID"></a>
136
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
137
+ * used with plusPlus and parallelPlus methods only on a local node.
138
+ */
139
+ enum DistributedStep4LocalPlusPlusInputId
140
+ {
141
+ inputOfStep4FromStep3 = lastDistributedLocalPlusPlusInputDataId + 1, /*!< %Numeric table with the data calculated on step3 on master node */
142
+ lastDistributedStep4LocalPlusPlusInputId = inputOfStep4FromStep3
143
+ };
144
+
145
+ /**
146
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP5MASTERPLUSPLUSINPUTID"></a>
147
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
148
+ * used with parallelPlus method only on a master node.
149
+ */
150
+ enum DistributedStep5MasterPlusPlusInputId
151
+ {
152
+ inputCentroids, /*!< %DataCollection of NumericTables with the new centroids */
153
+ inputOfStep5FromStep2, /*!< %DataCollection of NumericTables with the new centroids rating */
154
+ lastDistributedStep5MasterPlusPlusInputId = inputOfStep5FromStep2
155
+ };
156
+
157
+ /**
158
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP5MASTERPLUSPLUSINPUTDATAID"></a>
159
+ * \brief Available identifiers of input objects for computing initial centroids for K-Means algorithm
160
+ * used with parallelPlus methods only on the 5th step on a master node.
161
+ */
162
+ enum DistributedStep5MasterPlusPlusInputDataId
163
+ {
164
+ inputOfStep5FromStep3 = lastDistributedStep5MasterPlusPlusInputId + 1, /*!< %Service data generated as the output of step3Master */
165
+ lastDistributedStep5MasterPlusPlusInputDataId = inputOfStep5FromStep3
166
+ };
167
+
168
+ /**
169
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__PARTIALRESULTID"></a>
170
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
171
+ */
172
+ enum PartialResultId
173
+ {
174
+ partialCentroids, /*!< Table with the sum of observations assigned to centroids */
175
+ partialClusters = partialCentroids, /*!< Table with the sum of observations assigned to centroids \DAAL_DEPRECATED */
176
+ partialClustersNumber, /*!< Table with the number of observations assigned to centroids \DAAL_DEPRECATED */
177
+ lastPartialResultId = partialClustersNumber
178
+ };
179
+
180
+ /**
181
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSPARTIALRESULTID"></a>
182
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
183
+ * used with plusPlus and parallelPlus methods only on the 2nd step on a local node.
184
+ */
185
+ enum DistributedStep2LocalPlusPlusPartialResultId
186
+ {
187
+ outputOfStep2ForStep3, /*!< %Numeric table containing output from step 2 on the local node used by step 3 on a master node*/
188
+ outputOfStep2ForStep5, /*!< %Numeric table containing output from step 2 on the local node used by step 5 on a master node*/
189
+ lastDistributedStep2LocalPlusPlusPartialResultId = outputOfStep2ForStep5
190
+ };
191
+
192
+ /**
193
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSPARTIALRESULTDATAID"></a>
194
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
195
+ * used with plusPlus and parallelPlus methods only on the 2nd step on a local node.
196
+ */
197
+ enum DistributedStep2LocalPlusPlusPartialResultDataId
198
+ {
199
+ internalResult = lastDistributedStep2LocalPlusPlusPartialResultId
200
+ + 1, /*!< %DataCollection with internal algorithm data required as an input for the future steps on the node*/
201
+ lastDistributedStep2LocalPlusPlusPartialResultDataId = internalResult
202
+ };
203
+
204
+ /**
205
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP3MASTERPLUSPLUSPARTIALRESULTID"></a>
206
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
207
+ * used with plusPlus and parallelPlus methods only on the 3rd step on a master node.
208
+ */
209
+ enum DistributedStep3MasterPlusPlusPartialResultId
210
+ {
211
+ outputOfStep3ForStep4, /*!< %KeyValueDataCollection with the input for local nodes on step 4 */
212
+ lastDistributedStep3MasterPlusPlusPartialResultId = outputOfStep3ForStep4
213
+ };
214
+
215
+ /**
216
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP3MASTERPLUSPLUSPARTIALRESULTDATAID"></a>
217
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
218
+ * used with parallelPlus method only on the 3rd step on a master node.
219
+ */
220
+ enum DistributedStep3MasterPlusPlusPartialResultDataId
221
+ {
222
+ rngState =
223
+ lastDistributedStep3MasterPlusPlusPartialResultId + 1, /*!< %Service data generated as the output of step3Master to be used in step5Master*/
224
+ outputOfStep3ForStep5 = rngState, /*!< %Service data generated as the output of step3Master to be used in step5Master*/
225
+ lastDistributedStep3MasterPlusPlusPartialResultDataId = outputOfStep3ForStep5
226
+ };
227
+
228
+ /**
229
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP4LOCALPLUSPLUSPARTIALRESULTID"></a>
230
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
231
+ * used with plusPlus and parallelPlus methods only on the 4th step on a local node.
232
+ */
233
+ enum DistributedStep4LocalPlusPlusPartialResultId
234
+ {
235
+ outputOfStep4, /*!< %NumericTable with the new centroids calculated on step 4 on the local node */
236
+ lastDistributedStep4LocalPlusPlusPartialResultId = outputOfStep4
237
+ };
238
+
239
+ /**
240
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP5MASTERPLUSPLUSPARTIALRESULTID"></a>
241
+ * \brief Available identifiers of partial results of computing initial centroids for K-Means algorithm in the distributed processing mode
242
+ * used with parallelPlus method only on the 5th step on a master node.
243
+ */
244
+ enum DistributedStep5MasterPlusPlusPartialResultId
245
+ {
246
+ candidates, /*!< %NumericTable with the new centroids calculated on the previous steps */
247
+ weights, /*!< %NumericTable with the weights of the new centroids calculated on the previous steps */
248
+ lastDistributedStep5MasterPlusPlusPartialResultId = weights
249
+ };
250
+
251
+ /**
252
+ * <a name="DAAL-ENUM-ALGORITHMS__KMEANS__INIT__RESULTID"></a>
253
+ * \brief Available identifiers of the results of computing initial centroids for K-Means algorithm
254
+ */
255
+ enum ResultId
256
+ {
257
+ centroids, /*!< Table for cluster centroids */
258
+ lastResultId = centroids
259
+ };
260
+
261
+ /**
262
+ * \brief Contains version 1.0 of the oneAPI Data Analytics Library interface.
263
+ */
264
+ namespace interface1
265
+ {
266
+ /**
267
+ * <a name="DAAL-STRUCT-ALGORITHMS__KMEANS__INIT__PARAMETER"></a>
268
+ * \brief Base classes parameters for computing initial centroids for K-Means algorithm
269
+ *
270
+ * \snippet kmeans/kmeans_init_types.h Parameter source code
271
+ */
272
+ /* [Parameter source code] */
273
+ struct DAAL_EXPORT Parameter : public daal::algorithms::Parameter
274
+ {
275
+ /**
276
+ * Parameter constructor
277
+ * \param[in] _nClusters Number of clusters
278
+ * \param[in] _offset Offset in the total data set specifying the start of a block stored on a given local node
279
+ * \param[in] _seed Seed for generating random numbers for the initialization \DAAL_DEPRECATED_USE{ engine }
280
+ */
281
+ Parameter(size_t _nClusters, size_t _offset = 0, size_t _seed = 777777);
282
+
283
+ /**
284
+ * Constructs parameters of the algorithm that computes initial centroids for K-Means algorithm
285
+ * by copying another parameters object
286
+ * \param[in] other Parameters of K-Means algorithm
287
+ */
288
+ Parameter(const Parameter & other);
289
+
290
+ size_t nClusters; /*!< Number of clusters */
291
+ size_t nRowsTotal; /*!< Total number of rows in the data set */
292
+ size_t offset; /*!< Offset in the total data set specifying the start of a block stored on a given local node */
293
+ size_t seed; /*!< Seed for generating random numbers for the initialization \DAAL_DEPRECATED_USE{ engine } */
294
+
295
+ double oversamplingFactor; /*!< Kmeans|| only. A fraction of nClusters being chosen in each of nRounds of kmeans||.\
296
+ L = nClusters* oversamplingFactor points are sampled in a round. */
297
+ size_t nRounds; /*!< Kmeans|| only. Number of rounds for k-means||. (oversamplingFactor*nRounds) > 1 is a requirement.*/
298
+
299
+ engines::EnginePtr engine; /*!< Engine to be used for generating random numbers for the initialization */
300
+
301
+ services::Status check() const override;
302
+ };
303
+ /* [Parameter source code] */
304
+
305
+ /**
306
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__INPUTIFACE"></a>
307
+ * \brief Interface for K-Means initialization batch and distributed Input classes
308
+ */
309
+ class DAAL_EXPORT InputIface : public daal::algorithms::Input
310
+ {
311
+ public:
312
+ InputIface(size_t nElements) : daal::algorithms::Input(nElements) {};
313
+
314
+ virtual size_t getNumberOfFeatures() const = 0;
315
+ };
316
+
317
+ /**
318
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__INPUT"></a>
319
+ * \brief %Input objects for computing initial centroids for K-Means algorithm
320
+ */
321
+ class DAAL_EXPORT Input : public InputIface
322
+ {
323
+ public:
324
+ Input();
325
+ virtual ~Input() {}
326
+
327
+ /**
328
+ * Returns input objects for computing initial centroids for K-Means algorithm
329
+ * \param[in] id Identifier of the input object
330
+ * \return %Input object that corresponds to the given identifier
331
+ */
332
+ data_management::NumericTablePtr get(InputId id) const;
333
+
334
+ /**
335
+ * Sets an input object for computing initial centroids for K-Means algorithm
336
+ * \param[in] id Identifier of the input object
337
+ * \param[in] ptr Pointer to the input object
338
+ */
339
+ void set(InputId id, const data_management::NumericTablePtr & ptr);
340
+
341
+ /**
342
+ * Returns the number of features in the Input data table
343
+ * \return Number of features in the Input data table
344
+ */
345
+ size_t getNumberOfFeatures() const override;
346
+
347
+ /**
348
+ * Checks an input object for computing initial centroids for K-Means algorithm
349
+ * \param[in] par %Input object
350
+ * \param[in] method Method of the algorithm
351
+ */
352
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
353
+
354
+ protected:
355
+ Input(size_t nElements);
356
+ };
357
+
358
+ /**
359
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__PARTIALRESULT"></a>
360
+ * \brief Partial results obtained with the compute() method of K-Means algorithm in the batch processing mode
361
+ */
362
+ class DAAL_EXPORT PartialResult : public daal::algorithms::PartialResult
363
+ {
364
+ public:
365
+ DECLARE_SERIALIZABLE_CAST(PartialResult)
366
+ PartialResult();
367
+
368
+ virtual ~PartialResult() {};
369
+
370
+ /**
371
+ * Allocates memory to store partial results of computing initial centroids for K-Means algorithm
372
+ * \param[in] input Pointer to the input structure
373
+ * \param[in] parameter Pointer to the parameter structure
374
+ * \param[in] method Computation method of the algorithm
375
+ */
376
+ template <typename algorithmFPType>
377
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
378
+
379
+ /**
380
+ * Returns a partial result of computing initial centroids for K-Means algorithm
381
+ * \param[in] id Identifier of the partial result
382
+ * \return Partial result that corresponds to the given identifier
383
+ */
384
+ data_management::NumericTablePtr get(PartialResultId id) const;
385
+
386
+ /**
387
+ * Sets a partial result of computing initial centroids for K-Means algorithm
388
+ * \param[in] id Identifier of the partial result
389
+ * \param[in] ptr Pointer to the object
390
+ */
391
+ void set(PartialResultId id, const data_management::NumericTablePtr & ptr);
392
+
393
+ /**
394
+ * Returns the number of features in the result table of K-Means algorithm
395
+ * \return Number of features in the result table of K-Means algorithm
396
+ */
397
+ size_t getNumberOfFeatures() const;
398
+
399
+ /**
400
+ * Checks a partial result of computing initial centroids for K-Means algorithm
401
+ * \param[in] input %Input object for the algorithm
402
+ * \param[in] par %Parameter of the algorithm
403
+ * \param[in] method Computation method of the algorithm
404
+ */
405
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
406
+
407
+ /**
408
+ * Checks a partial result of computing initial centroids for K-Means algorithm
409
+ * \param[in] par %Parameter of the algorithm
410
+ * \param[in] method Computation method of the algorithm
411
+ */
412
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
413
+
414
+ protected:
415
+ /** \private */
416
+ template <typename Archive, bool onDeserialize>
417
+ services::Status serialImpl(Archive * arch)
418
+ {
419
+ return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
420
+ }
421
+ };
422
+ typedef services::SharedPtr<PartialResult> PartialResultPtr;
423
+
424
+ /**
425
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__RESULT"></a>
426
+ * \brief Results obtained with the compute() method that computes initial centroids
427
+ * for K-Means algorithm in the batch processing mode
428
+ */
429
+ class DAAL_EXPORT Result : public daal::algorithms::Result
430
+ {
431
+ public:
432
+ DECLARE_SERIALIZABLE_CAST(Result)
433
+ Result();
434
+
435
+ virtual ~Result() {};
436
+
437
+ /**
438
+ * Allocates memory to store the results of computing initial centroids for K-Means algorithm
439
+ * \param[in] input Pointer to the input structure
440
+ * \param[in] parameter Pointer to the parameter structure
441
+ * \param[in] method Computation method of the algorithm
442
+ */
443
+ template <typename algorithmFPType>
444
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
445
+
446
+ /**
447
+ * Allocates memory to store the results of computing initial centroids for K-Means algorithm
448
+ * \param[in] partialResult Pointer to the partial result structure
449
+ * \param[in] parameter Pointer to the parameter structure
450
+ * \param[in] method Computation method of the algorithm
451
+ */
452
+ template <typename algorithmFPType>
453
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::PartialResult * partialResult, const daal::algorithms::Parameter * parameter,
454
+ const int method);
455
+
456
+ /**
457
+ * Returns the result of computing initial centroids for K-Means algorithm
458
+ * \param[in] id Identifier of the result
459
+ * \return Result that corresponds to the given identifier
460
+ */
461
+ data_management::NumericTablePtr get(ResultId id) const;
462
+
463
+ /**
464
+ * Sets the result of computing initial centroids for K-Means algorithm
465
+ * \param[in] id Identifier of the result
466
+ * \param[in] ptr Pointer to the object
467
+ */
468
+ void set(ResultId id, const data_management::NumericTablePtr & ptr);
469
+
470
+ /**
471
+ * Checks the result of computing initial centroids for K-Means algorithm
472
+ * \param[in] input %Input object for the algorithm
473
+ * \param[in] par %Parameter of the algorithm
474
+ * \param[in] method Computation method of the algorithm
475
+ */
476
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
477
+
478
+ /**
479
+ * Checks the result of computing initial centroids for K-Means algorithm
480
+ * \param[in] pres Partial results of the algorithm
481
+ * \param[in] par %Parameter of the algorithm
482
+ * \param[in] method Computation method of the algorithm
483
+ */
484
+ services::Status check(const daal::algorithms::PartialResult * pres, const daal::algorithms::Parameter * par, int method) const override;
485
+
486
+ protected:
487
+ /** \private */
488
+ template <typename Archive, bool onDeserialize>
489
+ services::Status serialImpl(Archive * arch)
490
+ {
491
+ return daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
492
+ }
493
+ };
494
+ typedef services::SharedPtr<Result> ResultPtr;
495
+
496
+ /**
497
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2MASTERINPUT"></a>
498
+ * \brief %Input objects for computing initials clusters for K-Means
499
+ * algorithm in the second step of the distributed processing mode
500
+ */
501
+ class DAAL_EXPORT DistributedStep2MasterInput : public InputIface
502
+ {
503
+ public:
504
+ DistributedStep2MasterInput();
505
+
506
+ virtual ~DistributedStep2MasterInput() {}
507
+
508
+ /**
509
+ * Returns an input object for computing initial centroids for K-Means algorithm
510
+ * in the second step of the distributed processing mode
511
+ * \param[in] id Identifier of the input object
512
+ * \return %Input object that corresponds to the given identifier
513
+ */
514
+ data_management::DataCollectionPtr get(DistributedStep2MasterInputId id) const;
515
+
516
+ /**
517
+ * Sets an input object for computing initial centroids for K-Means algorithm
518
+ * in the second step of the distributed processing mode
519
+ * \param[in] id Identifier of the input object
520
+ * \param[in] ptr Pointer to the object
521
+ */
522
+ void set(DistributedStep2MasterInputId id, const data_management::DataCollectionPtr & ptr);
523
+
524
+ /**
525
+ * Adds a value to the data collection of input objects for computing initial centroids for K-Means algorithm
526
+ * in the second step of the distributed processing mode
527
+ * \param[in] id Identifier of the parameter
528
+ * \param[in] value Pointer to the new parameter value
529
+ */
530
+ void add(DistributedStep2MasterInputId id, const PartialResultPtr & value);
531
+
532
+ /**
533
+ * Returns the number of features in the Input data table in the second step of the distributed processing mode
534
+ * \return Number of features in the Input data table
535
+ */
536
+ size_t getNumberOfFeatures() const override;
537
+
538
+ /**
539
+ * Checks an input object for computing initial centroids for K-Means algorithm
540
+ * in the second step of the distributed processing mode
541
+ * \param[in] par %Parameter of the algorithm
542
+ * \param[in] method Computation method of the algorithm
543
+ */
544
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
545
+ };
546
+
547
+ /**
548
+ * <a name="DAAL-STRUCT-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSPARAMETER"></a>
549
+ * \brief Parameters for computing initial centroids for K-Means algorithm
550
+ */
551
+ struct DAAL_EXPORT DistributedStep2LocalPlusPlusParameter : public Parameter
552
+ {
553
+ /**
554
+ * Main constructor
555
+ */
556
+ DistributedStep2LocalPlusPlusParameter(size_t _nClusters, bool bFirstIteration);
557
+
558
+ /**
559
+ * Constructs parameters of the algorithm that computes initial centroids for K-Means algorithm
560
+ * by copying another parameters object
561
+ * \param[in] other Parameters of K-Means algorithm
562
+ */
563
+ DistributedStep2LocalPlusPlusParameter(const DistributedStep2LocalPlusPlusParameter & other);
564
+
565
+ bool firstIteration; /*!< True if step2 is called for the first time */
566
+ bool outputForStep5Required; /*!< True if the last iteration of parallelPlus algorithm processing is performed */
567
+ services::Status check() const override;
568
+ };
569
+
570
+ /**
571
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSINPUT"></a>
572
+ * \brief Interface for K-Means initialization distributed Input classes
573
+ * used with plusPlus and parallelPlus methods only on the 2nd step on a local node.
574
+ */
575
+ class DAAL_EXPORT DistributedStep2LocalPlusPlusInput : public Input
576
+ {
577
+ public:
578
+ DistributedStep2LocalPlusPlusInput();
579
+ DistributedStep2LocalPlusPlusInput(const DistributedStep2LocalPlusPlusInput & o);
580
+
581
+ virtual ~DistributedStep2LocalPlusPlusInput() {}
582
+
583
+ /**
584
+ * Returns input objects for computing initial centroids for K-Means algorithm
585
+ * \param[in] id Identifier of the input object
586
+ * \return %Input object that corresponds to the given identifier
587
+ */
588
+ data_management::NumericTablePtr get(InputId id) const;
589
+
590
+ /**
591
+ * Sets an input object for computing initial centroids for K-Means algorithm
592
+ * \param[in] id Identifier of the input object
593
+ * \param[in] ptr Pointer to the input object
594
+ */
595
+ void set(InputId id, const data_management::NumericTablePtr & ptr);
596
+
597
+ /**
598
+ * Returns input objects for computing initial centroids for K-Means algorithm
599
+ * \param[in] id Identifier of the input object
600
+ * \return %Input object that corresponds to the given identifier
601
+ */
602
+ data_management::DataCollectionPtr get(DistributedLocalPlusPlusInputDataId id) const;
603
+
604
+ /**
605
+ * Sets an input object for computing initial centroids for K-Means algorithm
606
+ * \param[in] id Identifier of the input object
607
+ * \param[in] ptr Pointer to the input object
608
+ */
609
+ void set(DistributedLocalPlusPlusInputDataId id, const data_management::DataCollectionPtr & ptr);
610
+
611
+ /**
612
+ * Returns input objects for computing initial centroids for K-Means algorithm
613
+ * \param[in] id Identifier of the input object
614
+ * \return %Input object that corresponds to the given identifier
615
+ */
616
+ data_management::NumericTablePtr get(DistributedStep2LocalPlusPlusInputId id) const;
617
+
618
+ /**
619
+ * Sets an input object for computing initial centroids for K-Means algorithm
620
+ * \param[in] id Identifier of the input object
621
+ * \param[in] ptr Pointer to the input object
622
+ */
623
+ void set(DistributedStep2LocalPlusPlusInputId id, const data_management::NumericTablePtr & ptr);
624
+
625
+ /**
626
+ * Checks an input object for computing initial centroids for K-Means algorithm
627
+ * \param[in] par %Input object
628
+ * \param[in] method Method of the algorithm
629
+ */
630
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
631
+ };
632
+
633
+ /**
634
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP3MASTERPLUSPLUSINPUT"></a>
635
+ * \brief Interface for K-Means distributed Input classes
636
+ * used with plusPlus and parallelPlus methods only on the 3rd step on a master node.
637
+ */
638
+ class DAAL_EXPORT DistributedStep3MasterPlusPlusInput : public daal::algorithms::Input
639
+ {
640
+ public:
641
+ DistributedStep3MasterPlusPlusInput();
642
+ DistributedStep3MasterPlusPlusInput(const DistributedStep3MasterPlusPlusInput & o);
643
+
644
+ /**
645
+ * Returns input objects for computing initial centroids for K-Means algorithm
646
+ * \param[in] id Identifier of the input object
647
+ * \return %Input object that corresponds to the given identifier
648
+ */
649
+ data_management::KeyValueDataCollectionPtr get(DistributedStep3MasterPlusPlusInputId id) const;
650
+
651
+ /**
652
+ * Sets an input object for computing initial centroids for K-Means algorithm
653
+ * \param[in] id Identifier of the input object
654
+ * \param[in] ptr Pointer to the input object
655
+ */
656
+ void set(DistributedStep3MasterPlusPlusInputId id, const data_management::KeyValueDataCollectionPtr & ptr);
657
+
658
+ /**
659
+ * Add an input object for computing initial centroids for K-Means algorithm
660
+ * \param[in] id Identifier of the input object
661
+ * \param[in] key Identifier of the node this object comes from
662
+ * \param[in] ptr Pointer to the input object
663
+ */
664
+ void add(DistributedStep3MasterPlusPlusInputId id, size_t key, const data_management::NumericTablePtr & ptr);
665
+
666
+ /**
667
+ * Checks an input object for computing initial centroids for K-Means algorithm
668
+ * \param[in] par %Input object
669
+ * \param[in] method Method of the algorithm
670
+ */
671
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
672
+ };
673
+
674
+ /**
675
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP4LOCALPLUSPLUSINPUT"></a>
676
+ * \brief Interface for K-Means distributed Input classes
677
+ * used with plusPlus and parallelPlus methods only on the 4th step on a local node.
678
+ */
679
+ class DAAL_EXPORT DistributedStep4LocalPlusPlusInput : public Input
680
+ {
681
+ public:
682
+ DistributedStep4LocalPlusPlusInput();
683
+ DistributedStep4LocalPlusPlusInput(const DistributedStep4LocalPlusPlusInput & o);
684
+
685
+ /**
686
+ * Returns input objects for computing initial centroids for K-Means algorithm
687
+ * \param[in] id Identifier of the input object
688
+ * \return %Input object that corresponds to the given identifier
689
+ */
690
+ data_management::NumericTablePtr get(InputId id) const;
691
+
692
+ /**
693
+ * Sets an input object for computing initial centroids for K-Means algorithm
694
+ * \param[in] id Identifier of the input object
695
+ * \param[in] ptr Pointer to the input object
696
+ */
697
+ void set(InputId id, const data_management::NumericTablePtr & ptr);
698
+
699
+ /**
700
+ * Returns input objects for computing initial centroids for K-Means algorithm
701
+ * \param[in] id Identifier of the input object
702
+ * \return %Input object that corresponds to the given identifier
703
+ */
704
+ data_management::DataCollectionPtr get(DistributedLocalPlusPlusInputDataId id) const;
705
+
706
+ /**
707
+ * Sets an input object for computing initial centroids for K-Means algorithm
708
+ * \param[in] id Identifier of the input object
709
+ * \param[in] ptr Pointer to the input object
710
+ */
711
+ void set(DistributedLocalPlusPlusInputDataId id, const data_management::DataCollectionPtr & ptr);
712
+
713
+ /**
714
+ * Returns input objects for computing initial centroids for K-Means algorithm
715
+ * \param[in] id Identifier of the input object
716
+ * \return %Input object that corresponds to the given identifier
717
+ */
718
+ data_management::NumericTablePtr get(DistributedStep4LocalPlusPlusInputId id) const;
719
+
720
+ /**
721
+ * Sets an input object for computing initial centroids for K-Means algorithm
722
+ * \param[in] id Identifier of the input object
723
+ * \param[in] ptr Pointer to the input object
724
+ */
725
+ void set(DistributedStep4LocalPlusPlusInputId id, const data_management::NumericTablePtr & ptr);
726
+
727
+ /**
728
+ * Checks an input object for computing initial centroids for K-Means algorithm
729
+ * \param[in] par %Input object
730
+ * \param[in] method Method of the algorithm
731
+ */
732
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
733
+ };
734
+
735
+ /**
736
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP5MASTERPLUSPLUSINPUT"></a>
737
+ * \brief Interface for K-Means distributed Input classes
738
+ */
739
+ class DAAL_EXPORT DistributedStep5MasterPlusPlusInput : public daal::algorithms::Input
740
+ {
741
+ public:
742
+ DistributedStep5MasterPlusPlusInput();
743
+ DistributedStep5MasterPlusPlusInput(const DistributedStep5MasterPlusPlusInput & o);
744
+
745
+ virtual ~DistributedStep5MasterPlusPlusInput() {}
746
+
747
+ /**
748
+ * Returns an input object for computing initial centroids for K-Means algorithm
749
+ * in the 5th step of the distributed processing mode
750
+ * \param[in] id Identifier of the input object
751
+ * \return %Input object that corresponds to the given identifier
752
+ */
753
+ data_management::DataCollectionPtr get(DistributedStep5MasterPlusPlusInputId id) const;
754
+
755
+ /**
756
+ * Sets an input object for computing initial centroids for K-Means algorithm
757
+ * in the 5th step of the distributed processing mode
758
+ * \param[in] id Identifier of the input object
759
+ * \param[in] ptr Pointer to the object
760
+ */
761
+ void set(DistributedStep5MasterPlusPlusInputId id, const data_management::DataCollectionPtr & ptr);
762
+
763
+ /**
764
+ * Adds a value to the data collection of input objects for computing initial centroids for K-Means algorithm
765
+ * in the 5th step of the distributed processing mode
766
+ * \param[in] id Identifier of the parameter
767
+ * \param[in] value Pointer to the new parameter value
768
+ */
769
+ void add(DistributedStep5MasterPlusPlusInputId id, const data_management::NumericTablePtr & value);
770
+
771
+ /**
772
+ * Returns an input object for computing initial centroids for K-Means algorithm
773
+ * in the 5th step of the distributed processing mode
774
+ * \param[in] id Identifier of the input object
775
+ * \return %Input object that corresponds to the given identifier
776
+ */
777
+ data_management::SerializationIfacePtr get(DistributedStep5MasterPlusPlusInputDataId id) const;
778
+
779
+ /**
780
+ * Sets an input object for computing initial centroids for K-Means algorithm
781
+ * in the 5th step of the distributed processing mode
782
+ * \param[in] id Identifier of the input object
783
+ * \param[in] ptr Pointer to the object
784
+ */
785
+ void set(DistributedStep5MasterPlusPlusInputDataId id, const data_management::SerializationIfacePtr & ptr);
786
+
787
+ /**
788
+ * Checks an input object for computing initial centroids for K-Means algorithm
789
+ * in the 5th step of the distributed processing mode
790
+ * \param[in] par %Parameter of the algorithm
791
+ * \param[in] method Computation method of the algorithm
792
+ */
793
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
794
+ };
795
+
796
+ /**
797
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP2LOCALPLUSPLUSPARTIALRESULT"></a>
798
+ * \brief Partial results obtained with the compute() method of K-Means algorithm in the distributed processing mode
799
+ */
800
+ class DAAL_EXPORT DistributedStep2LocalPlusPlusPartialResult : public daal::algorithms::PartialResult
801
+ {
802
+ public:
803
+ DECLARE_SERIALIZABLE_CAST(DistributedStep2LocalPlusPlusPartialResult)
804
+ DistributedStep2LocalPlusPlusPartialResult();
805
+
806
+ virtual ~DistributedStep2LocalPlusPlusPartialResult() {};
807
+
808
+ /**
809
+ * Allocates memory to store partial results of computing initial centroids for K-Means algorithm
810
+ * \param[in] input Pointer to the input structure
811
+ * \param[in] parameter Pointer to the parameter structure
812
+ * \param[in] method Computation method of the algorithm
813
+ */
814
+ template <typename algorithmFPType>
815
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
816
+
817
+ /**
818
+ * Returns a partial result of computing initial centroids for K-Means algorithm
819
+ * \param[in] id Identifier of the partial result
820
+ * \return Partial result that corresponds to the given identifier
821
+ */
822
+ data_management::NumericTablePtr get(DistributedStep2LocalPlusPlusPartialResultId id) const;
823
+
824
+ /**
825
+ * Sets a partial result of computing initial centroids for K-Means algorithm
826
+ * \param[in] id Identifier of the partial result
827
+ * \param[in] ptr Pointer to the object
828
+ */
829
+ void set(DistributedStep2LocalPlusPlusPartialResultId id, const data_management::NumericTablePtr & ptr);
830
+
831
+ /**
832
+ * Returns a partial result of computing initial centroids for K-Means algorithm
833
+ * \param[in] id Identifier of the partial result
834
+ * \return Partial result that corresponds to the given identifier
835
+ */
836
+ data_management::DataCollectionPtr get(DistributedStep2LocalPlusPlusPartialResultDataId id) const;
837
+
838
+ /**
839
+ * Sets a partial result of computing initial centroids for K-Means algorithm
840
+ * \param[in] id Identifier of the partial result
841
+ * \param[in] ptr Pointer to the object
842
+ */
843
+ void set(DistributedStep2LocalPlusPlusPartialResultDataId id, const data_management::DataCollectionPtr & ptr);
844
+
845
+ /**
846
+ * Checks a partial result of computing initial centroids for K-Means algorithm
847
+ * \param[in] input %Input object for the algorithm
848
+ * \param[in] par %Parameter of the algorithm
849
+ * \param[in] method Computation method of the algorithm
850
+ */
851
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
852
+
853
+ /**
854
+ * Checks a partial result of computing initial centroids for K-Means algorithm
855
+ * \param[in] par %Parameter of the algorithm
856
+ * \param[in] method Computation method of the algorithm
857
+ */
858
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
859
+
860
+ /**
861
+ * Initializes the partial result data
862
+ * \param[in] input %Input object for the algorithm
863
+ * \param[in] par %Parameter of the algorithm
864
+ * \param[in] method Computation method of the algorithm
865
+ */
866
+ void initialize(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method);
867
+
868
+ protected:
869
+ /** \private */
870
+ template <typename Archive, bool onDeserialize>
871
+ services::Status serialImpl(Archive * arch)
872
+ {
873
+ return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
874
+ }
875
+ };
876
+ typedef services::SharedPtr<DistributedStep2LocalPlusPlusPartialResult> DistributedStep2LocalPlusPlusPartialResultPtr;
877
+
878
+ /**
879
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP3MASTERPLUSPLUSPARTIALRESULT"></a>
880
+ * \brief Partial results obtained with the compute() method of K-Means algorithm in the distributed processing mode
881
+ */
882
+ class DAAL_EXPORT DistributedStep3MasterPlusPlusPartialResult : public daal::algorithms::PartialResult
883
+ {
884
+ public:
885
+ DECLARE_SERIALIZABLE_CAST(DistributedStep3MasterPlusPlusPartialResult)
886
+ DistributedStep3MasterPlusPlusPartialResult();
887
+
888
+ virtual ~DistributedStep3MasterPlusPlusPartialResult() {};
889
+
890
+ /**
891
+ * Allocates memory to store partial results of computing initial centroids for K-Means algorithm
892
+ * \param[in] input Pointer to the input structure
893
+ * \param[in] parameter Pointer to the parameter structure
894
+ * \param[in] method Computation method of the algorithm
895
+ */
896
+ template <typename algorithmFPType>
897
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
898
+
899
+ /**
900
+ * Returns a partial result of computing initial centroids for K-Means algorithm
901
+ * \param[in] id Identifier of the partial result
902
+ * \return Partial result that corresponds to the given identifier
903
+ */
904
+ data_management::KeyValueDataCollectionPtr get(DistributedStep3MasterPlusPlusPartialResultId id) const;
905
+
906
+ /**
907
+ * Returns a partial result of computing initial centroids for K-Means algorithm
908
+ * \param[in] id Identifier of the partial result
909
+ * \param[in] key Identifier of the node this partial result comes from
910
+ * \return Partial result that corresponds to the given identifier
911
+ */
912
+ data_management::NumericTablePtr get(DistributedStep3MasterPlusPlusPartialResultId id, size_t key) const;
913
+
914
+ /**
915
+ * Returns a partial result of computing initial centroids for K-Means algorithm
916
+ * \param[in] id Identifier of the partial result
917
+ * \return Partial result that corresponds to the given identifier
918
+ */
919
+ data_management::SerializationIfacePtr get(DistributedStep3MasterPlusPlusPartialResultDataId id) const;
920
+
921
+ /**
922
+ * Sets a partial result of computing initial centroids for K-Means algorithm
923
+ * \param[in] id Identifier of the partial result
924
+ * \param[in] key Identifier of the node this partial result comes from
925
+ * \param[in] ptr Pointer to the object
926
+ */
927
+ void add(DistributedStep3MasterPlusPlusPartialResultId id, size_t key, const data_management::NumericTablePtr & ptr);
928
+
929
+ /**
930
+ * Checks a partial result of computing initial centroids for K-Means algorithm
931
+ * \param[in] input %Input object for the algorithm
932
+ * \param[in] par %Parameter of the algorithm
933
+ * \param[in] method Computation method of the algorithm
934
+ */
935
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
936
+
937
+ /**
938
+ * Checks a partial result of computing initial centroids for K-Means algorithm
939
+ * \param[in] par %Parameter of the algorithm
940
+ * \param[in] method Computation method of the algorithm
941
+ */
942
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
943
+
944
+ /**
945
+ * Initializes the partial result data
946
+ * \param[in] input %Input object for the algorithm
947
+ * \param[in] par %Parameter of the algorithm
948
+ * \param[in] method Computation method of the algorithm
949
+ */
950
+ void initialize(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method);
951
+
952
+ protected:
953
+ /** \private */
954
+ template <typename Archive, bool onDeserialize>
955
+ services::Status serialImpl(Archive * arch)
956
+ {
957
+ return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
958
+ }
959
+ };
960
+ typedef services::SharedPtr<DistributedStep3MasterPlusPlusPartialResult> DistributedStep3MasterPlusPlusPartialResultPtr;
961
+
962
+ /**
963
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP4LOCALPLUSPLUSPARTIALRESULT"></a>
964
+ * \brief Partial results obtained with the compute() method of K-Means algorithm in the distributed processing mode
965
+ */
966
+ class DAAL_EXPORT DistributedStep4LocalPlusPlusPartialResult : public daal::algorithms::PartialResult
967
+ {
968
+ public:
969
+ DECLARE_SERIALIZABLE_CAST(DistributedStep4LocalPlusPlusPartialResult)
970
+ DistributedStep4LocalPlusPlusPartialResult();
971
+
972
+ virtual ~DistributedStep4LocalPlusPlusPartialResult() {};
973
+
974
+ /**
975
+ * Allocates memory to store partial results of computing initial centroids for K-Means algorithm
976
+ * \param[in] input Pointer to the input structure
977
+ * \param[in] parameter Pointer to the parameter structure
978
+ * \param[in] method Computation method of the algorithm
979
+ */
980
+ template <typename algorithmFPType>
981
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
982
+
983
+ /**
984
+ * Returns a partial result of computing initial centroids for K-Means algorithm
985
+ * \param[in] id Identifier of the partial result
986
+ * \return Partial result that corresponds to the given identifier
987
+ */
988
+ data_management::NumericTablePtr get(DistributedStep4LocalPlusPlusPartialResultId id) const;
989
+
990
+ /**
991
+ * Sets a partial result of computing initial centroids for K-Means algorithm
992
+ * \param[in] id Identifier of the partial result
993
+ * \param[in] ptr Pointer to the object
994
+ */
995
+ void set(DistributedStep4LocalPlusPlusPartialResultId id, const data_management::NumericTablePtr & ptr);
996
+
997
+ /**
998
+ * Checks a partial result of computing initial centroids for K-Means algorithm
999
+ * \param[in] input %Input object for the algorithm
1000
+ * \param[in] par %Parameter of the algorithm
1001
+ * \param[in] method Computation method of the algorithm
1002
+ */
1003
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
1004
+
1005
+ /**
1006
+ * Checks a partial result of computing initial centroids for K-Means algorithm
1007
+ * \param[in] par %Parameter of the algorithm
1008
+ * \param[in] method Computation method of the algorithm
1009
+ */
1010
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
1011
+
1012
+ protected:
1013
+ /** \private */
1014
+ template <typename Archive, bool onDeserialize>
1015
+ services::Status serialImpl(Archive * arch)
1016
+ {
1017
+ return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
1018
+ }
1019
+ };
1020
+ typedef services::SharedPtr<DistributedStep4LocalPlusPlusPartialResult> DistributedStep4LocalPlusPlusPartialResultPtr;
1021
+
1022
+ /**
1023
+ * <a name="DAAL-CLASS-ALGORITHMS__KMEANS__INIT__DISTRIBUTEDSTEP5MASTERPLUSPLUSPARTIALRESULT"></a>
1024
+ * \brief Partial results obtained with the compute() method of K-Means algorithm in the distributed processing mode
1025
+ */
1026
+ class DAAL_EXPORT DistributedStep5MasterPlusPlusPartialResult : public daal::algorithms::PartialResult
1027
+ {
1028
+ public:
1029
+ DECLARE_SERIALIZABLE_CAST(DistributedStep5MasterPlusPlusPartialResult)
1030
+ DistributedStep5MasterPlusPlusPartialResult();
1031
+
1032
+ virtual ~DistributedStep5MasterPlusPlusPartialResult() {};
1033
+
1034
+ /**
1035
+ * Allocates memory to store partial results of computing initial centroids for K-Means algorithm
1036
+ * \param[in] input Pointer to the input structure
1037
+ * \param[in] parameter Pointer to the parameter structure
1038
+ * \param[in] method Computation method of the algorithm
1039
+ */
1040
+ template <typename algorithmFPType>
1041
+ DAAL_EXPORT services::Status allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method);
1042
+
1043
+ /**
1044
+ * Returns a partial result of computing initial centroids for K-Means algorithm
1045
+ * \param[in] id Identifier of the partial result
1046
+ * \return Partial result that corresponds to the given identifier
1047
+ */
1048
+ data_management::NumericTablePtr get(DistributedStep5MasterPlusPlusPartialResultId id) const;
1049
+
1050
+ /**
1051
+ * Sets a partial result of computing initial centroids for K-Means algorithm
1052
+ * \param[in] id Identifier of the partial result
1053
+ * \param[in] ptr Pointer to the object
1054
+ */
1055
+ void set(DistributedStep5MasterPlusPlusPartialResultId id, const data_management::NumericTablePtr & ptr);
1056
+
1057
+ /**
1058
+ * Checks a partial result of computing initial centroids for K-Means algorithm
1059
+ * \param[in] input %Input object for the algorithm
1060
+ * \param[in] par %Parameter of the algorithm
1061
+ * \param[in] method Computation method of the algorithm
1062
+ */
1063
+ services::Status check(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, int method) const override;
1064
+
1065
+ /**
1066
+ * Checks a partial result of computing initial centroids for K-Means algorithm
1067
+ * \param[in] par %Parameter of the algorithm
1068
+ * \param[in] method Computation method of the algorithm
1069
+ */
1070
+ services::Status check(const daal::algorithms::Parameter * par, int method) const override;
1071
+
1072
+ protected:
1073
+ /** \private */
1074
+ template <typename Archive, bool onDeserialize>
1075
+ services::Status serialImpl(Archive * arch)
1076
+ {
1077
+ return daal::algorithms::PartialResult::serialImpl<Archive, onDeserialize>(arch);
1078
+ }
1079
+ };
1080
+ typedef services::SharedPtr<DistributedStep5MasterPlusPlusPartialResult> DistributedStep5MasterPlusPlusPartialResultPtr;
1081
+
1082
+ } // namespace interface1
1083
+
1084
+ namespace interface2
1085
+ {
1086
+ /**
1087
+ * <a name="DAAL-STRUCT-ALGORITHMS__KMEANS__INIT__BATCH__PARAMETER"></a>
1088
+ * \brief Parameters for computing initial centroids for K-Means algorithm of the batch mode
1089
+ */
1090
+ struct DAAL_EXPORT Parameter : public interface1::Parameter
1091
+ {
1092
+ Parameter(size_t _nClusters, size_t _offset = 0, size_t _seed = 777777);
1093
+
1094
+ /**
1095
+ * Constructs parameters of the algorithm that computes initial centroids for K-Means algorithm
1096
+ * by copying another parameters object
1097
+ * \param[in] other Parameters of K-Means algorithm
1098
+ */
1099
+ Parameter(const Parameter & other);
1100
+
1101
+ size_t nTrials; /*!< Kmeans++ only. The number of trials to generate all clusters but the first initial cluster. */
1102
+
1103
+ services::Status check() const override;
1104
+ };
1105
+
1106
+ } // namespace interface2
1107
+
1108
+ using interface2::Parameter;
1109
+ using interface1::InputIface;
1110
+ using interface1::Input;
1111
+ using interface1::PartialResult;
1112
+ using interface1::PartialResultPtr;
1113
+ using interface1::Result;
1114
+ using interface1::ResultPtr;
1115
+ using interface1::DistributedStep2MasterInput;
1116
+ using interface1::DistributedStep2LocalPlusPlusParameter;
1117
+ using interface1::DistributedStep2LocalPlusPlusInput;
1118
+ using interface1::DistributedStep3MasterPlusPlusInput;
1119
+ using interface1::DistributedStep4LocalPlusPlusInput;
1120
+ using interface1::DistributedStep5MasterPlusPlusInput;
1121
+ using interface1::DistributedStep2LocalPlusPlusPartialResult;
1122
+ using interface1::DistributedStep2LocalPlusPlusPartialResultPtr;
1123
+ using interface1::DistributedStep3MasterPlusPlusPartialResult;
1124
+ using interface1::DistributedStep3MasterPlusPlusPartialResultPtr;
1125
+ using interface1::DistributedStep4LocalPlusPlusPartialResult;
1126
+ using interface1::DistributedStep4LocalPlusPlusPartialResultPtr;
1127
+ using interface1::DistributedStep5MasterPlusPlusPartialResult;
1128
+ using interface1::DistributedStep5MasterPlusPlusPartialResultPtr;
1129
+
1130
+ } // namespace init
1131
+ /** @} */
1132
+ } // namespace kmeans
1133
+ } // namespace algorithms
1134
+ } // namespace daal
1135
+ #endif