dal-include 2026.3.0__py2.py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dal_include-2026.3.0.data/data/Library/include/daal.h +236 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base.h +34 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_common.h +138 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode.h +187 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_base_mode_impl.h +297 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base.h +232 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_container_base_batch.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_kernel.h +60 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/algorithm_types.h +547 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/analysis.h +82 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/cholesky/cholesky_types.h +184 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict.h +140 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_predict_types.h +238 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_batch.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_online.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/classifier_training_types.h +257 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/classifier/tree_traverse.h +86 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_batch.h +229 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_distributed.h +495 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_online.h +266 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/covariance/covariance_types.h +454 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_batch.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_distributed.h +1577 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/dbscan/dbscan_types.h +2341 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_model_builder.h +210 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_predict_types.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_batch.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_classification_training_types.h +216 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_model.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict.h +135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_predict_types.h +219 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_batch.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_regression_training_types.h +286 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/decision_forest/decision_forest_training_parameter.h +172 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/correlation_distance_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/distance/cosine_distance_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_model.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_predict_types.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_batch.h +162 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/elastic_net/elastic_net_training_types.h +356 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm.h +135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_covariance_storage_id.h +52 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_batch.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_init_types.h +264 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/em/em_gmm_types.h +310 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine.h +112 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_family.h +108 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/engine_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mcg59/mcg59_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a.h +152 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mrg32k3a/mrg32k3a_types.h +65 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt19937/mt19937_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203.h +150 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/mt2203/mt2203_types.h +64 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10.h +152 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/engines/philox4x32x10/philox4x32x10_types.h +65 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_model_builder.h +179 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_predict_types.h +243 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_batch.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_classification_training_types.h +190 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_model_builder.h +175 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_predict_types.h +244 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_batch.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_regression_training_types.h +254 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/gradient_boosted_trees/gbt_training_parameter.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_model.h +295 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_batch.h +142 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_distributed.h +198 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_predict_ratings_types.h +369 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_batch.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_distributed.h +474 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_batch.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_distributed.h +257 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_init_types.h +562 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/implicit_als/implicit_als_training_types.h +843 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_model.h +227 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict.h +176 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_batch.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/bf_knn_classification_training_types.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_model.h +209 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict.h +161 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_batch.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/k_nearest_neighbors/kdtree_knn_classification_training_types.h +138 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function.h +121 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_linear.h +137 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_rbf.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types.h +201 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_linear.h +111 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kernel_function/kernel_function_types_rbf.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_batch.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_distributed.h +383 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_batch.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_distributed.h +873 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_init_types.h +1135 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/kmeans/kmeans_types.h +425 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_model.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict.h +136 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_predict_types.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_batch.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/lasso_regression/lasso_regression_training_types.h +354 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_model.h +142 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict.h +91 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_predict_types.h +211 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_batch.h +74 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_online.h +83 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_model/linear_model_training_types.h +229 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model.h +103 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_model_builder.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_ne_model.h +83 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict.h +165 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_predict_types.h +179 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_qr_model.h +84 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_batch.h +151 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_distributed.h +275 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_online.h +155 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/linear_regression/linear_regression_training_types.h +430 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model.h +101 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_model_builder.h +204 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict.h +164 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_predict_types.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_batch.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/logistic_regression/logistic_regression_training_types.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/model.h +85 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_batch.h +206 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_distributed.h +255 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_online.h +172 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/moments/low_order_moments_types.h +422 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model.h +210 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_model_builder.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict.h +181 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_predict_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train.h +168 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/multi_class_classifier/multi_class_classifier_train_types.h +121 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/minmax_types.h +244 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore.h +227 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/normalization/zscore_types.h +309 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_batch.h +162 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/coordinate_descent/coordinate_descent_types.h +195 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_batch.h +124 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/iterative_solver/iterative_solver_types.h +322 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_batch.h +157 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/lbfgs/lbfgs_types.h +250 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_batch.h +156 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/cross_entropy_loss_types.h +178 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_batch.h +155 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/logistic_loss_types.h +177 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_batch.h +149 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/mse_types.h +224 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_batch.h +130 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/objective_function_types.h +253 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_batch.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/precomputed_types.h +58 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_batch.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/objective_function/sum_of_functions_types.h +166 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/optimization_solver/optimization_solver_batch.h +63 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_batch.h +144 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_distributed.h +361 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_online.h +295 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/pca_types.h +850 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_batch.h +143 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pca/transform/pca_transform_types.h +253 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_batch.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/pivoted_qr/pivoted_qr_types.h +196 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/prediction.h +62 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_batch.h +134 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_distributed.h +372 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_online.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/qr/qr_types.h +662 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_model.h +88 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict.h +101 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_predict_types.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_batch.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_online.h +115 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/regression_training_types.h +212 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/regression/tree_traverse.h +90 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_model.h +123 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_ne_model.h +85 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict.h +167 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_predict_types.h +186 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_batch.h +150 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_distributed.h +268 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_online.h +153 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/ridge_regression/ridge_regression_training_types.h +432 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_batch.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_distributed.h +353 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_online.h +193 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svd/svd_types.h +674 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model.h +170 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_model_builder.h +174 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict.h +139 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_predict_types.h +125 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train.h +163 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/svm/svm_train_types.h +119 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/training.h +70 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils.h +100 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_classification.h +70 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tree_utils/tree_utils_regression.h +69 -0
- dal_include-2026.3.0.data/data/Library/include/dal/algorithms/tsne/tsne_gradient_descent.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/aos_numeric_table.h +530 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/arrow_numeric_table.h +451 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/csr_numeric_table.h +1076 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_archive.h +1024 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_block.h +141 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_collection.h +336 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_dictionary.h +466 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/data_serialize.h +159 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/factory.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/homogen_numeric_table.h +960 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/input_collection.h +43 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/base_arrow_numeric_table.h +79 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/conversion.h +151 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/finiteness_checker.h +43 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/roc_auc_score.h +36 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/internal/train_test_split.h +41 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/memory_block.h +115 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/merged_numeric_table.h +447 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_table.h +977 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/numeric_types.h +47 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/row_merged_numeric_table.h +401 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/soa_numeric_table.h +540 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_data_source.h +453 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/csv_feature_manager.h +577 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source.h +739 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_dictionary.h +283 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/data_source_utils.h +76 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/file_data_source.h +237 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/csv_feature_utils.h +195 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/internal/data_source_options.h +49 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/default_modifiers.h +260 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/internal/engine.h +225 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/modifier.h +180 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/csv/shortcuts.h +91 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/internal/engine.h +421 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/modifiers/modifier.h +157 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/data_source/string_data_source.h +178 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/compatibility.h +98 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/defines.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/identifiers.h +154 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/indices.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/helpers.h +281 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/identifiers_impl.h +278 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/internal/indices_impl.h +143 -0
- dal_include-2026.3.0.data/data/Library/include/dal/data_management/features/shortcuts.h +209 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/base.h +49 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/buffer_view.h +133 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/collection.h +384 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_atomic_int.h +264 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_defines.h +670 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_memory.h +108 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_shared_ptr.h +462 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/daal_string.h +239 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/env_detect.h +183 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_handling.h +600 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_id.h +110 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/error_indexes.h +445 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/collection.h +258 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_kernel_defines.h +32 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/daal_load_win_dynamic_lib.h +39 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/dynamic_lib_helper.h +127 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/error_handling_helpers.h +75 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/hash_table.h +132 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/status_to_error_id.h +40 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/internal/utilities.h +69 -0
- dal_include-2026.3.0.data/data/Library/include/dal/services/library_version_info.h +87 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/common.hpp +200 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/compute_types.hpp +384 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/compute_ops.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/finalize_compute_ops.hpp +97 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/detail/partial_compute_ops.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/finalize_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics/partial_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/basic_statistics.hpp +21 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/chebyshev_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/common.hpp +123 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_default_kernel.hpp +81 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_ops.hpp +56 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/detail/vertex_partitioning_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components/vertex_partitioning_types.hpp +105 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/connected_components.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/compute_types.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/correlation_distance.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/compute_types.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/cosine_distance.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/common.hpp +202 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/compute_types.hpp +309 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/compute_ops.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/finalize_compute_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/detail/partial_compute_ops.hpp +81 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/finalize_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/cpu/compute_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/parameters/gpu/compute_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance/partial_compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/covariance.hpp +21 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/common.hpp +258 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/compute_types.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan/detail/compute_ops.hpp +75 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/dbscan.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/common.hpp +768 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/infer_ops.hpp +102 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/detail/train_ops.hpp +120 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/infer_types.hpp +178 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/infer_parameters.hpp +59 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/cpu/train_parameters.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/infer_parameters.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/parameters/gpu/train_parameters.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest/train_types.hpp +284 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_forest.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/common.hpp +207 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/decision_tree/detail/node_visitor.hpp +74 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/common.hpp +140 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/compute_types.hpp +98 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker/detail/compute_ops.hpp +76 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/finiteness_checker.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/common.hpp +408 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/compute_types.hpp +197 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan/detail/compute_ops.hpp +83 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/hdbscan.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/common.hpp +170 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/select_kernel.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/service.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_default_kernel.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/detail/vertex_similarity_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard/vertex_similarity_types.hpp +110 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/jaccard.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/common.hpp +265 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/infer_ops.hpp +84 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_init_centroids.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/detail/train_ops.hpp +91 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/infer_types.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans/train_types.hpp +168 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/common.hpp +221 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/compute_types.hpp +115 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init/detail/compute_ops.hpp +83 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/kmeans_init.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/common.hpp +378 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/distance.hpp +111 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/infer_ops.hpp +72 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/detail/train_ops.hpp +76 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/infer_types.hpp +152 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn/train_types.hpp +137 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/knn.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/common.hpp +156 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel/detail/compute_ops.hpp +95 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/common.hpp +237 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/finalize_train_ops.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/infer_ops.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/partial_train_ops.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/detail/train_ops.hpp +143 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/finalize_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/infer_types.hpp +111 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/cpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/parameters/gpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/partial_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression/train_types.hpp +340 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/linear_regression.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/common.hpp +294 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/infer_ops.hpp +69 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/optimizer.hpp +85 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/detail/train_ops.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/infer_types.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/cpu/train_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/parameters/gpu/train_parameters.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression/train_types.hpp +197 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logistic_regression.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/logloss_objective/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/common.hpp +175 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/select_kernel.hpp +69 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_default_kernel.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/detail/vertex_partitioning_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain/vertex_partitioning_types.hpp +136 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/louvain.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/minkowski_distance/common.hpp +148 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/newton_cg/common.hpp +162 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/common.hpp +223 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/compute_types.hpp +159 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/compute_ops.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function/detail/objective.hpp +86 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/objective_function.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/common.hpp +343 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/finalize_train_ops.hpp +72 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/infer_ops.hpp +97 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/partial_train_ops.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/detail/train_ops.hpp +113 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/finalize_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/infer_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/cpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/parameters/gpu/train_parameters.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/partial_train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca/train_types.hpp +379 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/pca.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/polynomial_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/common.hpp +141 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/rbf_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/common.hpp +223 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_default_kernel.hpp +114 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_ops.hpp +78 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/detail/traverse_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths/traverse_types.hpp +106 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/shortest_paths.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/common.hpp +161 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/compute_types.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel/detail/compute_ops.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/sigmoid_kernel.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/common.hpp +177 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_default_kernel.hpp +128 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_ops.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/graph_matching_types.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/detail/select_kernel.hpp +105 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism/graph_matching_types.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/subgraph_isomorphism.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/common.hpp +573 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/infer_ops.hpp +95 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/kernel_function.hpp +165 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/detail/train_ops.hpp +89 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/infer_types.hpp +148 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm/train_types.hpp +211 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/svm.hpp +20 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/common.hpp +152 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/relabel_kernel.hpp +123 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/select_kernel.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_default_kernel.hpp +256 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_ops.hpp +61 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/detail/vertex_ranking_types.hpp +37 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking.hpp +30 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting/vertex_ranking_types.hpp +109 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/algo/triangle_counting.hpp +22 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/array.hpp +758 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/chunked_array.hpp +330 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/common.hpp +158 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/compute.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/archives.hpp +135 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_impl.hpp +456 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/array_utils.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ccl/communicator.hpp +478 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_impl.hpp +242 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/chunked_array_utils.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/common.hpp +501 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/communicator.hpp +102 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu.hpp +107 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_arm_impl.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_iface.hpp +51 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_impl.hpp +49 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_riscv64_impl.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/cpu_info_x86_impl.hpp +45 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/debug.hpp +121 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dispatcher.hpp +52 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/dtype_dispatcher.hpp +128 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/error_messages.hpp +368 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/finalize_train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context.hpp +46 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/global_context_impl.hpp +38 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/graph_matching_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/hash_map.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/infer_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory.hpp +205 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_dpc.hpp +110 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/memory_impl_host.hpp +94 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/mpi/communicator.hpp +416 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/ops_dispatcher.hpp +238 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/paged_vector.hpp +206 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/parameters/system_parameters_impl.hpp +59 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_compute_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/partial_train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/policy.hpp +147 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/profiler.hpp +99 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/read_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/serialization.hpp +449 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/singleton.hpp +45 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/sparse_matrix_handle_impl.hpp +58 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/spmd_policy.hpp +104 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/threading.hpp +548 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/train_ops.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/traverse_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_partitioning_ops.hpp +44 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_ranking_ops.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/detail/vertex_similarity_ops.hpp +44 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/exceptions.hpp +124 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_compute.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/finalize_train.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/common.hpp +149 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/common.hpp +36 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/container.hpp +263 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/csr_topology.hpp +140 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_builder.hpp +68 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_impl.hpp +172 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/directed_adjacency_vector_graph_topology_builder.hpp +48 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/service_functions_impl.hpp +71 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_impl.hpp +144 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/detail/undirected_adjacency_vector_graph_topology_builder.hpp +49 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/directed_adjacency_vector_graph.hpp +176 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/service_functions.hpp +168 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph/undirected_adjacency_vector_graph.hpp +173 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/graph_matching.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/infer.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/common.hpp +127 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/common.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel.hpp +39 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_kernel_impl.hpp +660 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_graph_service.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/read_ops.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/detail/select_kernel.hpp +51 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read.hpp +31 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv/read_types.hpp +163 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/io/csv.hpp +19 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_compute.hpp +43 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/partial_train.hpp +65 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/read.hpp +42 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/rng.hpp +50 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/ccl/communicator.hpp +80 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/common.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/communicator.hpp +571 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/detail/communicator_utils.hpp +218 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/exceptions.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/spmd/mpi/communicator.hpp +55 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/column_accessor.hpp +199 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/common.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr.hpp +424 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/csr_accessor.hpp +232 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/access_iface_compat.hpp +99 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/columns_access_iface.hpp +156 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_access_iface.hpp +115 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/csr_utils.hpp +66 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/homogen_utils.hpp +40 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/metadata_utils.hpp +149 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/rows_access_iface.hpp +146 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_builder.hpp +308 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_iface.hpp +349 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_kinds.hpp +34 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/detail/table_utils.hpp +116 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/heterogen.hpp +112 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/homogen.hpp +281 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/table/row_accessor.hpp +174 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/train.hpp +64 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/traverse.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/common.hpp +48 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/detail/type_traits.hpp +52 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/util/result_option_id.hpp +96 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_partitioning.hpp +32 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_ranking.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal/vertex_similarity.hpp +33 -0
- dal_include-2026.3.0.data/data/Library/include/oneapi/dal.hpp +72 -0
- dal_include-2026.3.0.data/data/share/doc/dal/licensing/third-party-programs.txt +359 -0
- dal_include-2026.3.0.dist-info/LICENSE.txt +25 -0
- dal_include-2026.3.0.dist-info/METADATA +23 -0
- dal_include-2026.3.0.dist-info/RECORD +616 -0
- dal_include-2026.3.0.dist-info/WHEEL +6 -0
- dal_include-2026.3.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,977 @@
|
|
|
1
|
+
/* file: numeric_table.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
|
+
// Declaration and implementation of the base class for numeric tables.
|
|
21
|
+
//--
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#ifndef __NUMERIC_TABLE_H__
|
|
25
|
+
#define __NUMERIC_TABLE_H__
|
|
26
|
+
|
|
27
|
+
#include "services/base.h"
|
|
28
|
+
#include "services/daal_defines.h"
|
|
29
|
+
#include "services/daal_memory.h"
|
|
30
|
+
#include "services/error_handling.h"
|
|
31
|
+
#include "algorithms/algorithm_types.h"
|
|
32
|
+
#include "data_management/data/data_collection.h"
|
|
33
|
+
#include "data_management/data/data_dictionary.h"
|
|
34
|
+
|
|
35
|
+
#include "data_management/data/numeric_types.h"
|
|
36
|
+
|
|
37
|
+
namespace daal
|
|
38
|
+
{
|
|
39
|
+
/** \brief Contains classes that implement data management functionality, including NumericTables, DataSources, and Compression */
|
|
40
|
+
namespace data_management
|
|
41
|
+
{
|
|
42
|
+
namespace interface1
|
|
43
|
+
{
|
|
44
|
+
/**
|
|
45
|
+
* @ingroup numeric_tables
|
|
46
|
+
* @{
|
|
47
|
+
*/
|
|
48
|
+
class NumericTable;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__BLOCKDESCRIPTOR"></a>
|
|
52
|
+
* \brief %Base class that manages buffer memory for read/write operations required by numeric tables.
|
|
53
|
+
*/
|
|
54
|
+
template <typename DataType = DAAL_DATA_TYPE>
|
|
55
|
+
class DAAL_EXPORT BlockDescriptor
|
|
56
|
+
{
|
|
57
|
+
public:
|
|
58
|
+
/** \private */
|
|
59
|
+
DAAL_FORCEINLINE BlockDescriptor() : _ptr(), _nrows(0), _ncols(0), _colsOffset(0), _rowsOffset(0), _rwFlag(0), _capacity(0), _pPtr(0), _rawPtr(0)
|
|
60
|
+
{}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Gets a pointer to the buffer
|
|
64
|
+
* \return Pointer to the block
|
|
65
|
+
*/
|
|
66
|
+
inline DataType * getBlockPtr() const
|
|
67
|
+
{
|
|
68
|
+
if (_rawPtr)
|
|
69
|
+
{
|
|
70
|
+
return (DataType *)_rawPtr;
|
|
71
|
+
}
|
|
72
|
+
else
|
|
73
|
+
{
|
|
74
|
+
return _ptr.get();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Gets a pointer to the buffer
|
|
80
|
+
* \return Pointer to the block
|
|
81
|
+
*/
|
|
82
|
+
inline services::SharedPtr<DataType> getBlockSharedPtr() const
|
|
83
|
+
{
|
|
84
|
+
if (_rawPtr)
|
|
85
|
+
{
|
|
86
|
+
return services::SharedPtr<DataType>(services::reinterpretPointerCast<DataType, byte>(*_pPtr), (DataType *)_rawPtr);
|
|
87
|
+
}
|
|
88
|
+
else
|
|
89
|
+
{
|
|
90
|
+
return _ptr;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Returns the number of columns in the block
|
|
96
|
+
* \return Number of columns
|
|
97
|
+
*/
|
|
98
|
+
inline size_t getNumberOfColumns() const { return _ncols; }
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Returns the number of rows in the block
|
|
102
|
+
* \return Number of rows
|
|
103
|
+
*/
|
|
104
|
+
inline size_t getNumberOfRows() const { return _nrows; }
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Resets internal values and pointers to zero values
|
|
108
|
+
*/
|
|
109
|
+
inline void reset()
|
|
110
|
+
{
|
|
111
|
+
_colsOffset = 0;
|
|
112
|
+
_rowsOffset = 0;
|
|
113
|
+
_rwFlag = 0;
|
|
114
|
+
_pPtr = NULL;
|
|
115
|
+
_rawPtr = NULL;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Sets data pointer to use for in-place calculation
|
|
120
|
+
* \param[in] ptr Pointer to the buffer
|
|
121
|
+
* \param[in] nColumns Number of columns
|
|
122
|
+
* \param[in] nRows Number of rows
|
|
123
|
+
*/
|
|
124
|
+
inline void setPtr(DataType * ptr, size_t nColumns, size_t nRows)
|
|
125
|
+
{
|
|
126
|
+
_ptr = services::SharedPtr<DataType>(ptr, services::EmptyDeleter());
|
|
127
|
+
_ncols = nColumns;
|
|
128
|
+
_nrows = nRows;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* \param[in] pPtr Pointer to the shared pointer that handles the memory
|
|
133
|
+
* \param[in] rawPtr Pointer to the shifted memory
|
|
134
|
+
* \param[in] nColumns Number of columns
|
|
135
|
+
* \param[in] nRows Number of rows
|
|
136
|
+
*/
|
|
137
|
+
inline void setPtr(services::SharedPtr<byte> * pPtr, byte * rawPtr, size_t nColumns, size_t nRows)
|
|
138
|
+
{
|
|
139
|
+
_pPtr = pPtr;
|
|
140
|
+
_rawPtr = rawPtr;
|
|
141
|
+
_ncols = nColumns;
|
|
142
|
+
_nrows = nRows;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Sets data pointer to use for in-place calculation
|
|
147
|
+
* \param[in] ptr Shared pointer to the buffer
|
|
148
|
+
* \param[in] nColumns Number of columns
|
|
149
|
+
* \param[in] nRows Number of rows
|
|
150
|
+
*/
|
|
151
|
+
inline void setSharedPtr(const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows)
|
|
152
|
+
{
|
|
153
|
+
_ptr = ptr;
|
|
154
|
+
_ncols = nColumns;
|
|
155
|
+
_nrows = nRows;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Allocates memory of (\p nColumns * \p nRows + \p auxMemorySize) size
|
|
159
|
+
* \param[in] nColumns Number of columns
|
|
160
|
+
* \param[in] nRows Number of rows
|
|
161
|
+
* \param[in] auxMemorySize Auxiliary memory size for the memory block typically used for type conversion
|
|
162
|
+
* in get/releaseBlockOfRows and get/releaseBlockOfColumnValues methods
|
|
163
|
+
*
|
|
164
|
+
* \return true if memory of (\p nColumns * \p nRows + \p auxMemorySize) size is allocated successfully
|
|
165
|
+
*/
|
|
166
|
+
inline bool resizeBuffer(size_t nColumns, size_t nRows, size_t auxMemorySize = 0)
|
|
167
|
+
{
|
|
168
|
+
_pPtr = NULL;
|
|
169
|
+
_rawPtr = NULL;
|
|
170
|
+
_ncols = nColumns;
|
|
171
|
+
_nrows = nRows;
|
|
172
|
+
|
|
173
|
+
const size_t elementsCount = nColumns * nRows;
|
|
174
|
+
DAAL_ASSERT((elementsCount / nRows) == nColumns);
|
|
175
|
+
|
|
176
|
+
const size_t bytesCount = elementsCount * sizeof(DataType);
|
|
177
|
+
DAAL_ASSERT((bytesCount / sizeof(DataType)) == elementsCount);
|
|
178
|
+
|
|
179
|
+
const size_t newSize = bytesCount + auxMemorySize;
|
|
180
|
+
DAAL_ASSERT((newSize - bytesCount) == auxMemorySize);
|
|
181
|
+
|
|
182
|
+
if (newSize > _capacity)
|
|
183
|
+
{
|
|
184
|
+
_ptr.reset();
|
|
185
|
+
_capacity = 0;
|
|
186
|
+
|
|
187
|
+
_ptr = services::SharedPtr<DataType>((DataType *)daal::services::daal_malloc(newSize), services::ServiceDeleter());
|
|
188
|
+
if (_ptr != 0)
|
|
189
|
+
{
|
|
190
|
+
_capacity = newSize;
|
|
191
|
+
}
|
|
192
|
+
else
|
|
193
|
+
{
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if (!auxMemorySize)
|
|
199
|
+
{
|
|
200
|
+
if (_aux_ptr)
|
|
201
|
+
{
|
|
202
|
+
_aux_ptr = services::SharedPtr<DataType>();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
else
|
|
206
|
+
{
|
|
207
|
+
_aux_ptr = services::SharedPtr<DataType>(_ptr, _ptr.get() + nColumns * nRows);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
return true;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Sets parameters of the block
|
|
215
|
+
* \param[in] columnIdx Index of the first column in the block
|
|
216
|
+
* \param[in] rowIdx Index of the first row in the block
|
|
217
|
+
* \param[in] rwFlag Flag specifying read/write access to the block
|
|
218
|
+
*/
|
|
219
|
+
inline void setDetails(size_t columnIdx, size_t rowIdx, int rwFlag)
|
|
220
|
+
{
|
|
221
|
+
_colsOffset = columnIdx;
|
|
222
|
+
_rowsOffset = rowIdx;
|
|
223
|
+
|
|
224
|
+
if (_rwFlag != rwFlag)
|
|
225
|
+
{
|
|
226
|
+
_rwFlag = rwFlag;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Gets the number of columns in the numeric table preceding the first element in the block
|
|
232
|
+
* \return columns offset
|
|
233
|
+
*/
|
|
234
|
+
inline size_t getColumnsOffset() const { return _colsOffset; }
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Gets the number of rows in the numeric table preceding the first element in the block
|
|
238
|
+
* \return rows offset
|
|
239
|
+
*/
|
|
240
|
+
inline size_t getRowsOffset() const { return _rowsOffset; }
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Gets the flag specifying read/write access to the block
|
|
244
|
+
* \return flag
|
|
245
|
+
*/
|
|
246
|
+
inline size_t getRWFlag() const { return _rwFlag; }
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Gets a pointer to the additional memory buffer
|
|
250
|
+
* \return pointer
|
|
251
|
+
*/
|
|
252
|
+
void * getAdditionalBufferPtr() const { return _aux_ptr.get(); }
|
|
253
|
+
|
|
254
|
+
private:
|
|
255
|
+
services::SharedPtr<DataType> _ptr;
|
|
256
|
+
size_t _nrows;
|
|
257
|
+
size_t _ncols;
|
|
258
|
+
|
|
259
|
+
size_t _colsOffset;
|
|
260
|
+
size_t _rowsOffset;
|
|
261
|
+
int _rwFlag;
|
|
262
|
+
|
|
263
|
+
services::SharedPtr<DataType> _aux_ptr;
|
|
264
|
+
size_t _capacity;
|
|
265
|
+
|
|
266
|
+
services::SharedPtr<byte> * _pPtr;
|
|
267
|
+
byte * _rawPtr;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__NUMERICTABLEIFACE"></a>
|
|
272
|
+
* \brief Abstract interface class for a data management component responsible for representation of data in the numeric format.
|
|
273
|
+
* This class declares the most general methods for data access.
|
|
274
|
+
*/
|
|
275
|
+
class NumericTableIface
|
|
276
|
+
{
|
|
277
|
+
public:
|
|
278
|
+
virtual ~NumericTableIface() {}
|
|
279
|
+
/**
|
|
280
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__MEMORYSTATUS"></a>
|
|
281
|
+
* \brief Enumeration to specify the status of memory related to the Numeric Table
|
|
282
|
+
*/
|
|
283
|
+
enum MemoryStatus
|
|
284
|
+
{
|
|
285
|
+
notAllocated, /*!< No memory allocated */
|
|
286
|
+
userAllocated, /*!< Memory allocated on user side */
|
|
287
|
+
internallyAllocated /*!< Memory allocated and managed by NumericTable */
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__ALLOCATIONFLAG"></a>
|
|
292
|
+
* \brief Enumeration to specify whether the Numeric Table must allocate memory
|
|
293
|
+
*/
|
|
294
|
+
enum AllocationFlag
|
|
295
|
+
{
|
|
296
|
+
doNotAllocate = 0, /*!< Memory will not be allocated by NumericTable */
|
|
297
|
+
notAllocate =
|
|
298
|
+
0, /*!< Memory will not be allocated by NumericTable \DAAL_DEPRECATED_USE{ \ref daal::data_management::interface1::NumericTableIface::doNotAllocate "doNotAllocate" }*/
|
|
299
|
+
doAllocate = 1 /*!< Memory will be allocated by NumericTable when needed */
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__BASICSTATISTICSID"></a>
|
|
304
|
+
* \brief Enumeration to specify estimates of basic statistics stored
|
|
305
|
+
*/
|
|
306
|
+
enum BasicStatisticsId
|
|
307
|
+
{
|
|
308
|
+
minimum = 0, /*!< Minimum estimate */
|
|
309
|
+
maximum = 1, /*!< Maximum estimate */
|
|
310
|
+
sum = 2, /*!< Sum estimate */
|
|
311
|
+
sumSquares = 3 /*!< Sum squares estimate */
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__FEATUREBASICSTATISTICS"></a>
|
|
316
|
+
* \brief Enumeration to specify feature-specific estimates of basic statistics stored
|
|
317
|
+
*/
|
|
318
|
+
enum FeatureBasicStatistics
|
|
319
|
+
{
|
|
320
|
+
counters /*!< Counters estimate */
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__NORMALIZATIONTYPE"></a>
|
|
325
|
+
* \brief Enumeration to specify types of normalization
|
|
326
|
+
*/
|
|
327
|
+
enum NormalizationType
|
|
328
|
+
{
|
|
329
|
+
nonNormalized = 0, /*!< Default: non-normalized */
|
|
330
|
+
standardScoreNormalized = 1, /*!< Standard score normalization (mean=0, variance=1) */
|
|
331
|
+
minMaxNormalized = 2 /*!< Min-max normalization */
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* <a name="DAAL-ENUM-DATA_MANAGEMENT__STORAGELAYOUT"></a>
|
|
336
|
+
* \brief Storage layouts that may need to be supported
|
|
337
|
+
*/
|
|
338
|
+
enum StorageLayout
|
|
339
|
+
{
|
|
340
|
+
soa = 1, // 1
|
|
341
|
+
aos = 2, // 2
|
|
342
|
+
csrArray = 1 << 4,
|
|
343
|
+
arrow = 8 << 8,
|
|
344
|
+
|
|
345
|
+
layout_unknown = 0x80000000 // the last bit set
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Sets a data dictionary in the Numeric Table
|
|
350
|
+
* \param[in] ddict Pointer to the data dictionary
|
|
351
|
+
* \DAAL_DEPRECATED
|
|
352
|
+
*/
|
|
353
|
+
DAAL_DEPRECATED_VIRTUAL virtual services::Status setDictionary(NumericTableDictionary * /*ddict*/) { return services::Status(); }
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Returns a pointer to a data dictionary
|
|
357
|
+
* \return Pointer to the data dictionary
|
|
358
|
+
* \DAAL_DEPRECATED
|
|
359
|
+
*/
|
|
360
|
+
DAAL_DEPRECATED_VIRTUAL virtual NumericTableDictionary * getDictionary() const = 0;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Returns a shared pointer to a data dictionary
|
|
364
|
+
* \return Shared pointer to the data dictionary
|
|
365
|
+
*/
|
|
366
|
+
virtual NumericTableDictionaryPtr getDictionarySharedPtr() const = 0;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Resets a data dictionary for the Numeric Table
|
|
370
|
+
* \DAAL_DEPRECATED
|
|
371
|
+
*/
|
|
372
|
+
DAAL_DEPRECATED_VIRTUAL virtual services::Status resetDictionary() { return services::Status(); }
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Returns the type of a given feature
|
|
376
|
+
* \param[in] feature_idx Feature index
|
|
377
|
+
* \return Feature type
|
|
378
|
+
*/
|
|
379
|
+
virtual features::FeatureType getFeatureType(size_t feature_idx) const = 0;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Returns the number of categories for a given feature
|
|
383
|
+
* \param[in] feature_idx Feature index
|
|
384
|
+
* \return Number of categories
|
|
385
|
+
*/
|
|
386
|
+
virtual size_t getNumberOfCategories(size_t feature_idx) const = 0;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Returns a data layout used in the Numeric Table
|
|
390
|
+
* \return Data layout
|
|
391
|
+
*/
|
|
392
|
+
virtual StorageLayout getDataLayout() const = 0;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Sets the number of rows in the Numeric Table and allocates memory for a data set
|
|
396
|
+
*/
|
|
397
|
+
virtual services::Status resize(size_t nrows) = 0;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Sets the number of columns in the Numeric Table
|
|
401
|
+
*
|
|
402
|
+
* \param[in] ncol Number of columns
|
|
403
|
+
* \DAAL_DEPRECATED
|
|
404
|
+
*/
|
|
405
|
+
DAAL_DEPRECATED_VIRTUAL virtual services::Status setNumberOfColumns(size_t ncol) = 0;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* Sets the number of rows in the Numeric Table
|
|
409
|
+
*
|
|
410
|
+
* \param[in] nrow Number of rows
|
|
411
|
+
* \DAAL_DEPRECATED
|
|
412
|
+
*/
|
|
413
|
+
DAAL_DEPRECATED_VIRTUAL virtual services::Status setNumberOfRows(size_t nrow) = 0;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* Allocates memory for a data set
|
|
417
|
+
* \DAAL_DEPRECATED
|
|
418
|
+
*/
|
|
419
|
+
DAAL_DEPRECATED_VIRTUAL virtual services::Status allocateDataMemory(daal::MemType type = daal::dram) = 0;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Deallocates the memory allocated for a data set
|
|
423
|
+
* \DAAL_DEPRECATED
|
|
424
|
+
*/
|
|
425
|
+
DAAL_DEPRECATED_VIRTUAL virtual void freeDataMemory() = 0;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Allocates Numeric Tables for basic statistics
|
|
429
|
+
*/
|
|
430
|
+
virtual services::Status allocateBasicStatistics() = 0;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Checks the correctness of this numeric table
|
|
434
|
+
* \param[in] description Additional information about error
|
|
435
|
+
* \param[in] checkDataAllocation Flag that specifies whether to check the data allocation status
|
|
436
|
+
* \return Check status: True if the table satisfies the requirements, false otherwise.
|
|
437
|
+
*/
|
|
438
|
+
virtual services::Status check(const char * description, bool checkDataAllocation = true) const = 0;
|
|
439
|
+
};
|
|
440
|
+
} // namespace interface1
|
|
441
|
+
using interface1::BlockDescriptor;
|
|
442
|
+
using interface1::NumericTableIface;
|
|
443
|
+
|
|
444
|
+
const int packed_mask = (int)NumericTableIface::csrArray;
|
|
445
|
+
|
|
446
|
+
namespace interface1
|
|
447
|
+
{
|
|
448
|
+
/**
|
|
449
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__DENSENUMERICTABLEIFACE"></a>
|
|
450
|
+
* \brief Abstract interface class for a data management component responsible for accessing data in the numeric format.
|
|
451
|
+
* This class declares specific methods to access data in a dense homogeneous form.
|
|
452
|
+
*/
|
|
453
|
+
class DenseNumericTableIface
|
|
454
|
+
{
|
|
455
|
+
public:
|
|
456
|
+
virtual ~DenseNumericTableIface() {}
|
|
457
|
+
/**
|
|
458
|
+
* Gets a block of rows from a table.
|
|
459
|
+
*
|
|
460
|
+
* \param[in] vector_idx Index of the first row to include into the block.
|
|
461
|
+
* \param[in] vector_num Number of rows in the block.
|
|
462
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature vectors.
|
|
463
|
+
* \param[out] block The block of feature vectors.
|
|
464
|
+
*
|
|
465
|
+
* \return Actual number of feature vectors returned by the method.
|
|
466
|
+
*/
|
|
467
|
+
virtual services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<double> & block) = 0;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Gets a block of rows from a table.
|
|
471
|
+
*
|
|
472
|
+
* \param[in] vector_idx Index of the first row to include into the block.
|
|
473
|
+
* \param[in] vector_num Number of rows in the block.
|
|
474
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature vectors.
|
|
475
|
+
* \param[out] block The block of feature vectors.
|
|
476
|
+
*
|
|
477
|
+
* \return Actual number of feature vectors returned by the method.
|
|
478
|
+
*/
|
|
479
|
+
virtual services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<float> & block) = 0;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Gets a block of rows from a table.
|
|
483
|
+
*
|
|
484
|
+
* \param[in] vector_idx Index of the first row to include into the block.
|
|
485
|
+
* \param[in] vector_num Number of rows in the block.
|
|
486
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature vectors.
|
|
487
|
+
* \param[out] block The block of feature vectors.
|
|
488
|
+
*
|
|
489
|
+
* \return Actual number of feature vectors returned by the method.
|
|
490
|
+
*/
|
|
491
|
+
virtual services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<int> & block) = 0;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Releases a block of rows.
|
|
495
|
+
* \param[in] block The block of rows.
|
|
496
|
+
*/
|
|
497
|
+
virtual services::Status releaseBlockOfRows(BlockDescriptor<double> & block) = 0;
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Releases a block of rows.
|
|
501
|
+
* \param[in] block The block of rows.
|
|
502
|
+
*/
|
|
503
|
+
virtual services::Status releaseBlockOfRows(BlockDescriptor<float> & block) = 0;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Releases a block of rows.
|
|
507
|
+
* \param[in] block The block of rows.
|
|
508
|
+
*/
|
|
509
|
+
virtual services::Status releaseBlockOfRows(BlockDescriptor<int> & block) = 0;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Gets a block of values for a given feature.
|
|
513
|
+
*
|
|
514
|
+
* \param[in] feature_idx Feature index.
|
|
515
|
+
* \param[in] vector_idx Index of the first feature vector to include into the block.
|
|
516
|
+
* \param[in] value_num Number of feature values in the block.
|
|
517
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature values.
|
|
518
|
+
* \param[out] block The block of feature values.
|
|
519
|
+
*
|
|
520
|
+
* \return Actual number of feature values returned by the method.
|
|
521
|
+
*/
|
|
522
|
+
virtual services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
523
|
+
BlockDescriptor<double> & block) = 0;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Gets a block of values for a given feature.
|
|
527
|
+
*
|
|
528
|
+
* \param[in] feature_idx Feature index.
|
|
529
|
+
* \param[in] vector_idx Index of the first feature vector to include into the block.
|
|
530
|
+
* \param[in] value_num Number of feature values in the block.
|
|
531
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature values.
|
|
532
|
+
* \param[out] block The block of feature values.
|
|
533
|
+
*
|
|
534
|
+
* \return Actual number of feature values returned by the method.
|
|
535
|
+
*/
|
|
536
|
+
virtual services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
537
|
+
BlockDescriptor<float> & block) = 0;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Gets a block of values for a given feature.
|
|
541
|
+
*
|
|
542
|
+
* \param[in] feature_idx Feature index.
|
|
543
|
+
* \param[in] vector_idx Index of the first feature vector to include into the block.
|
|
544
|
+
* \param[in] value_num Number of feature values in the block.
|
|
545
|
+
* \param[in] rwflag Flag specifying read/write access to the block of feature values.
|
|
546
|
+
* \param[out] block The block of feature values.
|
|
547
|
+
*
|
|
548
|
+
* \return Actual number of feature values returned by the method.
|
|
549
|
+
*/
|
|
550
|
+
virtual services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
551
|
+
BlockDescriptor<int> & block) = 0;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Releases a block of values for a given feature.
|
|
555
|
+
* \param[in] block The block of feature values.
|
|
556
|
+
*/
|
|
557
|
+
virtual services::Status releaseBlockOfColumnValues(BlockDescriptor<double> & block) = 0;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Releases a block of values for a given feature.
|
|
561
|
+
* \param[in] block The block of feature values.
|
|
562
|
+
*/
|
|
563
|
+
virtual services::Status releaseBlockOfColumnValues(BlockDescriptor<float> & block) = 0;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Releases a block of values for a given feature.
|
|
567
|
+
* \param[in] block The block of feature values.
|
|
568
|
+
*/
|
|
569
|
+
virtual services::Status releaseBlockOfColumnValues(BlockDescriptor<int> & block) = 0;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__NUMERICTABLE"></a>
|
|
574
|
+
* \brief Class for a data management component responsible for representation of data in the numeric format.
|
|
575
|
+
* This class implements the most general methods for data access.
|
|
576
|
+
*/
|
|
577
|
+
class DAAL_EXPORT NumericTable : public SerializationIface, public NumericTableIface, public DenseNumericTableIface
|
|
578
|
+
{
|
|
579
|
+
public:
|
|
580
|
+
DAAL_CAST_OPERATOR(NumericTable)
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Constructor for a Numeric Table with predefined dictionary
|
|
584
|
+
* \param[in] ddict Pointer to the data dictionary
|
|
585
|
+
*/
|
|
586
|
+
NumericTable(NumericTableDictionaryPtr ddict)
|
|
587
|
+
{
|
|
588
|
+
_obsnum = 0;
|
|
589
|
+
_ddict = ddict;
|
|
590
|
+
_layout = layout_unknown;
|
|
591
|
+
_memStatus = notAllocated;
|
|
592
|
+
_normalizationFlag = NumericTable::nonNormalized;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Constructor for a Numeric Table
|
|
597
|
+
* \param[in] featnum Number of columns in the table
|
|
598
|
+
* \param[in] obsnum Number of rows in the table
|
|
599
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
600
|
+
*/
|
|
601
|
+
NumericTable(size_t featnum, size_t obsnum, DictionaryIface::FeaturesEqual featuresEqual = DictionaryIface::notEqual)
|
|
602
|
+
{
|
|
603
|
+
_obsnum = obsnum;
|
|
604
|
+
_ddict = NumericTableDictionaryPtr(new NumericTableDictionary(featnum, featuresEqual));
|
|
605
|
+
_layout = layout_unknown;
|
|
606
|
+
_memStatus = notAllocated;
|
|
607
|
+
_normalizationFlag = NumericTable::nonNormalized;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/** \private */
|
|
611
|
+
virtual ~NumericTable() {}
|
|
612
|
+
|
|
613
|
+
DAAL_DEPRECATED_VIRTUAL services::Status setDictionary(NumericTableDictionary * ddict) override
|
|
614
|
+
{
|
|
615
|
+
_ddict = NumericTableDictionaryPtr(ddict, services::EmptyDeleter());
|
|
616
|
+
return services::Status();
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
DAAL_DEPRECATED_VIRTUAL NumericTableDictionary * getDictionary() const override { return _ddict.get(); }
|
|
620
|
+
|
|
621
|
+
NumericTableDictionaryPtr getDictionarySharedPtr() const override { return _ddict; }
|
|
622
|
+
|
|
623
|
+
DAAL_DEPRECATED_VIRTUAL services::Status resetDictionary() override { return services::Status(); }
|
|
624
|
+
|
|
625
|
+
services::Status resize(size_t nrows) override
|
|
626
|
+
{
|
|
627
|
+
size_t obsnum = _obsnum;
|
|
628
|
+
services::Status s = setNumberOfRowsImpl(nrows);
|
|
629
|
+
if ((_memStatus != userAllocated && obsnum < nrows) || _memStatus == notAllocated)
|
|
630
|
+
{
|
|
631
|
+
s |= allocateDataMemoryImpl();
|
|
632
|
+
}
|
|
633
|
+
return s;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Returns the number of columns in the Numeric Table
|
|
638
|
+
* \return Number of columns
|
|
639
|
+
*/
|
|
640
|
+
size_t getNumberOfColumns() const { return _ddict->getNumberOfFeatures(); }
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Returns the number of rows in the Numeric Table
|
|
644
|
+
* \return Number of rows
|
|
645
|
+
*/
|
|
646
|
+
size_t getNumberOfRows() const { return _obsnum; }
|
|
647
|
+
|
|
648
|
+
DAAL_DEPRECATED_VIRTUAL services::Status setNumberOfColumns(size_t ncol) override { return setNumberOfColumnsImpl(ncol); }
|
|
649
|
+
|
|
650
|
+
DAAL_DEPRECATED_VIRTUAL services::Status setNumberOfRows(size_t nrow) override { return setNumberOfRowsImpl(nrow); }
|
|
651
|
+
|
|
652
|
+
DAAL_DEPRECATED_VIRTUAL services::Status allocateDataMemory(daal::MemType type = daal::dram) override { return allocateDataMemoryImpl(type); }
|
|
653
|
+
|
|
654
|
+
DAAL_DEPRECATED_VIRTUAL void freeDataMemory() override { freeDataMemoryImpl(); }
|
|
655
|
+
|
|
656
|
+
StorageLayout getDataLayout() const override { return _layout; }
|
|
657
|
+
|
|
658
|
+
features::FeatureType getFeatureType(size_t feature_idx) const override
|
|
659
|
+
{
|
|
660
|
+
if (_ddict.get() != NULL && _ddict->getNumberOfFeatures() > feature_idx)
|
|
661
|
+
{
|
|
662
|
+
const NumericTableFeature & f = (*_ddict)[feature_idx];
|
|
663
|
+
return f.featureType;
|
|
664
|
+
}
|
|
665
|
+
else
|
|
666
|
+
{
|
|
667
|
+
/* If no dictionary was set, all features are considered numeric */
|
|
668
|
+
return features::DAAL_CONTINUOUS;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
size_t getNumberOfCategories(size_t feature_idx) const override
|
|
673
|
+
{
|
|
674
|
+
if (_ddict.get() != NULL && _ddict->getNumberOfFeatures() > feature_idx && getFeatureType(feature_idx) != features::DAAL_CONTINUOUS)
|
|
675
|
+
{
|
|
676
|
+
const NumericTableFeature & f = (*_ddict)[feature_idx];
|
|
677
|
+
return f.categoryNumber;
|
|
678
|
+
}
|
|
679
|
+
else
|
|
680
|
+
{
|
|
681
|
+
/* If no dictionary was set, all features are considered numeric */
|
|
682
|
+
return (size_t)-1;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Gets the status of the memory used by a data set connected with a Numeric Table
|
|
688
|
+
*/
|
|
689
|
+
virtual MemoryStatus getDataMemoryStatus() const { return _memStatus; }
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Checks if dataset stored in the numeric table is normalized, according to the given normalization flag
|
|
693
|
+
* \param[in] flag Normalization flag to check
|
|
694
|
+
* \return Check result
|
|
695
|
+
*/
|
|
696
|
+
bool isNormalized(NormalizationType flag) const { return (_normalizationFlag == flag); }
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Sets the normalization flag for dataset stored in the numeric table
|
|
700
|
+
* \param[in] flag Normalization flag
|
|
701
|
+
* \return Previous value of the normalization flag
|
|
702
|
+
*/
|
|
703
|
+
NormalizationType setNormalizationFlag(NormalizationType flag)
|
|
704
|
+
{
|
|
705
|
+
NormalizationType oldValue = _normalizationFlag;
|
|
706
|
+
_normalizationFlag = flag;
|
|
707
|
+
return oldValue;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Returns errors during the computation
|
|
712
|
+
* \return Errors during the computation
|
|
713
|
+
* \DAAL_DEPRECATED
|
|
714
|
+
*/
|
|
715
|
+
DAAL_DEPRECATED services::SharedPtr<services::KernelErrorCollection> getErrors() { return _status.getCollection()->getErrors(); }
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Allocates Numeric Tables for basic statistics
|
|
719
|
+
*/
|
|
720
|
+
services::Status allocateBasicStatistics() override;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* \copydoc NumericTableIface::check
|
|
724
|
+
*/
|
|
725
|
+
services::Status check(const char * description, bool checkDataAllocation = true) const override
|
|
726
|
+
{
|
|
727
|
+
if (getDataMemoryStatus() == notAllocated && checkDataAllocation)
|
|
728
|
+
{
|
|
729
|
+
return services::Status(services::Error::create(services::ErrorNullNumericTable, services::ArgumentName, description));
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
if (getNumberOfColumns() == 0)
|
|
733
|
+
{
|
|
734
|
+
return services::Status(services::Error::create(services::ErrorIncorrectNumberOfColumns, services::ArgumentName, description));
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
if (getNumberOfRows() == 0 && getDataMemoryStatus() != notAllocated)
|
|
738
|
+
{
|
|
739
|
+
return services::Status(services::Error::create(services::ErrorIncorrectNumberOfRows, services::ArgumentName, description));
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
return services::Status();
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Fills a numeric table with a constant
|
|
747
|
+
* \param[in] value Constant to initialize entries of the numeric table
|
|
748
|
+
*/
|
|
749
|
+
virtual services::Status assign(float value) { return assignImpl<float>(value); }
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Fills a numeric table with a constant
|
|
753
|
+
* \param[in] value Constant to initialize entries of the numeric table
|
|
754
|
+
*/
|
|
755
|
+
virtual services::Status assign(double value) { return assignImpl<double>(value); }
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Fills a numeric table with a constant
|
|
759
|
+
* \param[in] value Constant to initialize entries of the numeric table
|
|
760
|
+
*/
|
|
761
|
+
virtual services::Status assign(int value) { return assignImpl<int>(value); }
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Returns value by given column and row from the numeric table
|
|
765
|
+
* \param[in] column Column
|
|
766
|
+
* \param[in] row Row
|
|
767
|
+
* \return Value from numeric table
|
|
768
|
+
*/
|
|
769
|
+
template <typename DataType>
|
|
770
|
+
DataType getValue(size_t column, size_t row) const
|
|
771
|
+
{
|
|
772
|
+
services::Status status;
|
|
773
|
+
return getValueImpl<DataType>(column, row, status);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Returns value by given column and row from the numeric table
|
|
778
|
+
* \param[in] column Column
|
|
779
|
+
* \param[in] row Row
|
|
780
|
+
* \param[in,out] status Status of the operation
|
|
781
|
+
* \return Value from numeric table
|
|
782
|
+
*/
|
|
783
|
+
template <typename DataType>
|
|
784
|
+
DataType getValue(size_t column, size_t row, services::Status & status) const
|
|
785
|
+
{
|
|
786
|
+
return getValueImpl<DataType>(column, row, status);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
public:
|
|
790
|
+
/**
|
|
791
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__BASICSTATISTICSDATACOLLECTION"></a>
|
|
792
|
+
* \brief Basic statistics for each column of original Numeric Table
|
|
793
|
+
*/
|
|
794
|
+
class BasicStatisticsDataCollection : public algorithms::Argument
|
|
795
|
+
{
|
|
796
|
+
public:
|
|
797
|
+
BasicStatisticsDataCollection() : algorithms::Argument(4) {}
|
|
798
|
+
|
|
799
|
+
services::SharedPtr<NumericTable> get(BasicStatisticsId id)
|
|
800
|
+
{
|
|
801
|
+
return services::staticPointerCast<NumericTable, SerializationIface>(Argument::get(id));
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
void set(BasicStatisticsId id, const services::SharedPtr<NumericTable> & value) { Argument::set(id, value); }
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
BasicStatisticsDataCollection basicStatistics; /** Basic statistics container */
|
|
808
|
+
|
|
809
|
+
protected:
|
|
810
|
+
NumericTableDictionaryPtr _ddict;
|
|
811
|
+
|
|
812
|
+
size_t _obsnum;
|
|
813
|
+
|
|
814
|
+
MemoryStatus _memStatus;
|
|
815
|
+
StorageLayout _layout;
|
|
816
|
+
|
|
817
|
+
NormalizationType _normalizationFlag;
|
|
818
|
+
|
|
819
|
+
services::Status _status;
|
|
820
|
+
|
|
821
|
+
protected:
|
|
822
|
+
NumericTable(NumericTableDictionaryPtr ddict, services::Status & /*st*/)
|
|
823
|
+
: _ddict(ddict), _obsnum(0), _memStatus(notAllocated), _layout(layout_unknown), _normalizationFlag(NumericTable::nonNormalized)
|
|
824
|
+
{}
|
|
825
|
+
|
|
826
|
+
NumericTable(size_t featnum, size_t obsnum, DictionaryIface::FeaturesEqual featuresEqual, services::Status & st)
|
|
827
|
+
: _obsnum(obsnum), _memStatus(notAllocated), _layout(layout_unknown), _normalizationFlag(NumericTable::nonNormalized)
|
|
828
|
+
{
|
|
829
|
+
_ddict = NumericTableDictionary::create(featnum, featuresEqual, &st);
|
|
830
|
+
if (!st) return;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
virtual services::Status setNumberOfColumnsImpl(size_t ncol) { return _ddict->setNumberOfFeatures(ncol); }
|
|
834
|
+
|
|
835
|
+
virtual services::Status setNumberOfRowsImpl(size_t nrow)
|
|
836
|
+
{
|
|
837
|
+
_obsnum = nrow;
|
|
838
|
+
return services::Status();
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
virtual services::Status allocateDataMemoryImpl(daal::MemType /*type*/ = daal::dram) { return services::Status(); }
|
|
842
|
+
|
|
843
|
+
virtual void freeDataMemoryImpl() {}
|
|
844
|
+
|
|
845
|
+
template <typename DataType>
|
|
846
|
+
DataType getValueImpl(size_t column, size_t row, services::Status & status) const
|
|
847
|
+
{
|
|
848
|
+
const DataType defaultValue = 0;
|
|
849
|
+
if (!status) return defaultValue;
|
|
850
|
+
BlockDescriptor<DataType> bd;
|
|
851
|
+
status |= const_cast<NumericTable *>(this)->getBlockOfColumnValues(column, row, 1, readOnly, bd);
|
|
852
|
+
if (!status) return defaultValue;
|
|
853
|
+
const DataType v = *(bd.getBlockPtr());
|
|
854
|
+
status |= const_cast<NumericTable *>(this)->releaseBlockOfColumnValues(bd);
|
|
855
|
+
return v;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
virtual float getFloatValueImpl(size_t column, size_t row, services::Status & status) const { return getValueImpl<float>(column, row, status); }
|
|
859
|
+
|
|
860
|
+
virtual double getDoubleValueImpl(size_t column, size_t row, services::Status & status) const
|
|
861
|
+
{
|
|
862
|
+
return getValueImpl<double>(column, row, status);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
virtual int getIntValueImpl(size_t column, size_t row, services::Status & status) const { return getValueImpl<int>(column, row, status); }
|
|
866
|
+
|
|
867
|
+
/** \private */
|
|
868
|
+
template <typename Archive, bool onDeserialize>
|
|
869
|
+
services::Status serialImpl(Archive * arch)
|
|
870
|
+
{
|
|
871
|
+
arch->setSharedPtrObj(_ddict);
|
|
872
|
+
|
|
873
|
+
arch->set(_obsnum);
|
|
874
|
+
|
|
875
|
+
if (onDeserialize)
|
|
876
|
+
{
|
|
877
|
+
_memStatus = notAllocated;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
arch->set(_layout);
|
|
881
|
+
|
|
882
|
+
return services::Status();
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
private:
|
|
886
|
+
template <typename T>
|
|
887
|
+
services::Status assignImpl(T value)
|
|
888
|
+
{
|
|
889
|
+
size_t nRows = getNumberOfRows();
|
|
890
|
+
size_t nCols = getNumberOfColumns();
|
|
891
|
+
BlockDescriptor<T> block;
|
|
892
|
+
DAAL_CHECK(getBlockOfRows(0, nRows, writeOnly, block), services::ErrorMemoryAllocationFailed)
|
|
893
|
+
T * array = block.getBlockSharedPtr().get();
|
|
894
|
+
for (size_t i = 0; i < nCols * nRows; i++)
|
|
895
|
+
{
|
|
896
|
+
array[i] = value;
|
|
897
|
+
}
|
|
898
|
+
releaseBlockOfRows(block);
|
|
899
|
+
return services::Status();
|
|
900
|
+
}
|
|
901
|
+
};
|
|
902
|
+
typedef services::SharedPtr<NumericTable> NumericTablePtr;
|
|
903
|
+
typedef services::SharedPtr<const NumericTable> NumericTableConstPtr;
|
|
904
|
+
|
|
905
|
+
template <>
|
|
906
|
+
inline float NumericTable::getValue<float>(size_t column, size_t row) const
|
|
907
|
+
{
|
|
908
|
+
services::Status status;
|
|
909
|
+
return getFloatValueImpl(column, row, status);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
template <>
|
|
913
|
+
inline double NumericTable::getValue<double>(size_t column, size_t row) const
|
|
914
|
+
{
|
|
915
|
+
services::Status status;
|
|
916
|
+
return getDoubleValueImpl(column, row, status);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
template <>
|
|
920
|
+
inline int NumericTable::getValue<int>(size_t column, size_t row) const
|
|
921
|
+
{
|
|
922
|
+
services::Status status;
|
|
923
|
+
return getIntValueImpl(column, row, status);
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
template <>
|
|
927
|
+
inline float NumericTable::getValue<float>(size_t column, size_t row, services::Status & status) const
|
|
928
|
+
{
|
|
929
|
+
return getFloatValueImpl(column, row, status);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
template <>
|
|
933
|
+
inline double NumericTable::getValue<double>(size_t column, size_t row, services::Status & status) const
|
|
934
|
+
{
|
|
935
|
+
return getDoubleValueImpl(column, row, status);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
template <>
|
|
939
|
+
inline int NumericTable::getValue<int>(size_t column, size_t row, services::Status & status) const
|
|
940
|
+
{
|
|
941
|
+
return getIntValueImpl(column, row, status);
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/** @} */
|
|
945
|
+
|
|
946
|
+
} // namespace interface1
|
|
947
|
+
using interface1::DenseNumericTableIface;
|
|
948
|
+
using interface1::NumericTable;
|
|
949
|
+
using interface1::NumericTablePtr;
|
|
950
|
+
using interface1::NumericTableConstPtr;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Checks the correctness of this numeric table
|
|
954
|
+
* \param[in] nt The numeric table to check
|
|
955
|
+
* \param[in] description Additional information about error
|
|
956
|
+
* \param[in] unexpectedLayouts The bit mask of invalid layouts for this numeric table.
|
|
957
|
+
* \param[in] expectedLayouts The bit mask of valid layouts for this numeric table.
|
|
958
|
+
* \param[in] nColumns Required number of columns.
|
|
959
|
+
* nColumns = 0 means that required number of columns is not specified.
|
|
960
|
+
* \param[in] nRows Required number of rows.
|
|
961
|
+
* nRows = 0 means that required number of rows is not specified.
|
|
962
|
+
* \param[in] checkDataAllocation Flag that specifies whether to check the data allocation status
|
|
963
|
+
* \return Check status: True if the table satisfies the requirements, false otherwise.
|
|
964
|
+
*/
|
|
965
|
+
DAAL_EXPORT services::Status checkNumericTable(const NumericTable * nt, const char * description, const int unexpectedLayouts = 0,
|
|
966
|
+
const int expectedLayouts = 0, size_t nColumns = 0, size_t nRows = 0, bool checkDataAllocation = true);
|
|
967
|
+
/**
|
|
968
|
+
* Converts numeric table with arbitrary storage layout to homogen numeric table of the given type
|
|
969
|
+
* \param[in] src Pointer to numeric table
|
|
970
|
+
* \param[in] type Type of result numeric table memory
|
|
971
|
+
* \return Pointer to homogen numeric table
|
|
972
|
+
*/
|
|
973
|
+
template <typename DataType>
|
|
974
|
+
DAAL_EXPORT daal::data_management::NumericTablePtr convertToHomogen(NumericTable & src, daal::MemType type = daal::dram);
|
|
975
|
+
} // namespace data_management
|
|
976
|
+
} // namespace daal
|
|
977
|
+
#endif
|