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
dal_include-2026.3.0.data/data/Library/include/dal/data_management/data/homogen_numeric_table.h
ADDED
|
@@ -0,0 +1,960 @@
|
|
|
1
|
+
/* file: homogen_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
|
+
// Implementation of a homogeneous numeric table.
|
|
21
|
+
//--
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#ifndef __HOMOGEN_NUMERIC_TABLE_H__
|
|
25
|
+
#define __HOMOGEN_NUMERIC_TABLE_H__
|
|
26
|
+
|
|
27
|
+
#include "services/daal_memory.h"
|
|
28
|
+
#include "services/daal_defines.h"
|
|
29
|
+
|
|
30
|
+
#include "data_management/data/numeric_table.h"
|
|
31
|
+
#include "data_management/data/factory.h" // goes after numeric_table.h to avoid circular dependency
|
|
32
|
+
#include "data_management/data/internal/conversion.h"
|
|
33
|
+
|
|
34
|
+
namespace daal
|
|
35
|
+
{
|
|
36
|
+
namespace data_management
|
|
37
|
+
{
|
|
38
|
+
namespace interface1
|
|
39
|
+
{
|
|
40
|
+
/**
|
|
41
|
+
* @ingroup numeric_tables
|
|
42
|
+
* @{
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* <a name="DAAL-CLASS-DATA_MANAGEMENT__HOMOGENNUMERICTABLE"></a>
|
|
46
|
+
* \brief Class that provides methods to access data stored as a contiguous array
|
|
47
|
+
* of homogeneous feature vectors. Table rows contain feature vectors,
|
|
48
|
+
* and columns contain values of individual features.
|
|
49
|
+
* \tparam DataType Defines the underlying data type that describes a Numeric Table
|
|
50
|
+
*/
|
|
51
|
+
template <typename DataType = DAAL_DATA_TYPE>
|
|
52
|
+
class DAAL_EXPORT HomogenNumericTable : public NumericTable
|
|
53
|
+
{
|
|
54
|
+
public:
|
|
55
|
+
DECLARE_SERIALIZABLE_TAG()
|
|
56
|
+
DECLARE_SERIALIZABLE_IMPL()
|
|
57
|
+
|
|
58
|
+
DAAL_CAST_OPERATOR(HomogenNumericTable)
|
|
59
|
+
|
|
60
|
+
friend Creator<HomogenNumericTable<DataType> >;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Typedef that stores a datatype used for template instantiation
|
|
64
|
+
*/
|
|
65
|
+
typedef DataType baseDataType;
|
|
66
|
+
|
|
67
|
+
public:
|
|
68
|
+
/**
|
|
69
|
+
* Constructs an empty Numeric Table with a predefined NumericTableDictionary
|
|
70
|
+
* \param[in] ddictForHomogenNumericTable Pointer to the predefined NumericTableDictionary
|
|
71
|
+
* \param[out] stat Status of the numeric table construction
|
|
72
|
+
* \return Empty numeric table with a predefined NumericTableDictionary
|
|
73
|
+
*/
|
|
74
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(NumericTableDictionaryPtr ddictForHomogenNumericTable,
|
|
75
|
+
services::Status * stat = NULL)
|
|
76
|
+
{
|
|
77
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL_EX(HomogenNumericTable, DataType, ddictForHomogenNumericTable);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Constructs an empty Numeric Table
|
|
82
|
+
* \param[out] stat Status of the numeric table construction
|
|
83
|
+
* \return Empty numeric table
|
|
84
|
+
*/
|
|
85
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(services::Status * stat = NULL)
|
|
86
|
+
{
|
|
87
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL(HomogenNumericTable, DataType);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Constructs a Numeric Table with user-allocated memory
|
|
92
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
93
|
+
* \param[in] nColumns Number of columns in the table
|
|
94
|
+
* \param[in] nRows Number of rows in the table
|
|
95
|
+
* \param[out] stat Status of the numeric table construction
|
|
96
|
+
* \return Numeric table with user-allocated memory
|
|
97
|
+
*/
|
|
98
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DataType * const ptr, size_t nColumns = 0, size_t nRows = 0,
|
|
99
|
+
services::Status * stat = NULL)
|
|
100
|
+
{
|
|
101
|
+
return create(services::SharedPtr<DataType>(ptr, services::EmptyDeleter()), nColumns, nRows, stat);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Constructs a Numeric Table with user-allocated memory
|
|
106
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
107
|
+
* \param[in] nColumns Number of columns in the table
|
|
108
|
+
* \param[in] nRows Number of rows in the table
|
|
109
|
+
* \param[out] stat Status of the numeric table construction
|
|
110
|
+
* \return Numeric table with user-allocated memory
|
|
111
|
+
*/
|
|
112
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
113
|
+
services::Status * stat = NULL)
|
|
114
|
+
{
|
|
115
|
+
return create(DictionaryIface::notEqual, ptr, nColumns, nRows, stat);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Constructs a Numeric Table with user-allocated memory
|
|
120
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
121
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
122
|
+
* \param[in] nColumns Number of columns in the table
|
|
123
|
+
* \param[in] nRows Number of rows in the table
|
|
124
|
+
* \param[out] stat Status of the numeric table construction
|
|
125
|
+
* \return Numeric table with user-allocated memory
|
|
126
|
+
*/
|
|
127
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual, DataType * const ptr = 0,
|
|
128
|
+
size_t nColumns = 0, size_t nRows = 0, services::Status * stat = NULL)
|
|
129
|
+
{
|
|
130
|
+
return create(featuresEqual, services::SharedPtr<DataType>(ptr, services::EmptyDeleter()), nColumns, nRows, stat);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Constructs a Numeric Table with user-allocated memory
|
|
135
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
136
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
137
|
+
* \param[in] nColumns Number of columns in the table
|
|
138
|
+
* \param[in] nRows Number of rows in the table
|
|
139
|
+
* \param[out] stat Status of the numeric table construction
|
|
140
|
+
* \return Numeric table with user-allocated memory
|
|
141
|
+
*/
|
|
142
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual,
|
|
143
|
+
const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
144
|
+
services::Status * stat = NULL)
|
|
145
|
+
{
|
|
146
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL_EX(HomogenNumericTable, DataType, featuresEqual, ptr, nColumns, nRows);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Constructs a Numeric Table with user-allocated memory and filling the table with a constant
|
|
151
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
152
|
+
* \param[in] nColumns Number of columns in the table
|
|
153
|
+
* \param[in] nRows Number of rows in the table
|
|
154
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
155
|
+
* \param[out] stat Status of the numeric table construction
|
|
156
|
+
* \return Numeric table with user-allocated memory and initialized with a constant
|
|
157
|
+
*/
|
|
158
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DataType * const ptr, size_t nColumns, size_t nRows,
|
|
159
|
+
const DataType & constValue, services::Status * stat = NULL)
|
|
160
|
+
{
|
|
161
|
+
return create(services::SharedPtr<DataType>(ptr, services::EmptyDeleter()), nColumns, nRows, constValue, stat);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Constructs a Numeric Table with user-allocated memory and filling the table with a constant
|
|
166
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
167
|
+
* \param[in] nColumns Number of columns in the table
|
|
168
|
+
* \param[in] nRows Number of rows in the table
|
|
169
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
170
|
+
* \param[out] stat Status of the numeric table construction
|
|
171
|
+
* \return Numeric table with user-allocated memory and initialized with a constant
|
|
172
|
+
*/
|
|
173
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
174
|
+
const DataType & constValue, services::Status * stat = NULL)
|
|
175
|
+
{
|
|
176
|
+
return create(DictionaryIface::notEqual, ptr, nColumns, nRows, constValue, stat);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Constructs a Numeric Table with user-allocated memory and filling the table with a constant
|
|
181
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
182
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
183
|
+
* \param[in] nColumns Number of columns in the table
|
|
184
|
+
* \param[in] nRows Number of rows in the table
|
|
185
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
186
|
+
* \param[out] stat Status of the numeric table construction
|
|
187
|
+
* \return Numeric table with user-allocated memory and initialized with a constant
|
|
188
|
+
*/
|
|
189
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual, DataType * const ptr,
|
|
190
|
+
size_t nColumns, size_t nRows, const DataType & constValue,
|
|
191
|
+
services::Status * stat = NULL)
|
|
192
|
+
{
|
|
193
|
+
return create(featuresEqual, services::SharedPtr<DataType>(ptr, services::EmptyDeleter()), nColumns, nRows, constValue, stat);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Constructs a Numeric Table with user-allocated memory and filling the table with a constant
|
|
198
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
199
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
200
|
+
* \param[in] nColumns Number of columns in the table
|
|
201
|
+
* \param[in] nRows Number of rows in the table
|
|
202
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
203
|
+
* \param[out] stat Status of the numeric table construction
|
|
204
|
+
* \return Numeric table with user-allocated memory and initialized with a constant
|
|
205
|
+
*/
|
|
206
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual,
|
|
207
|
+
const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
208
|
+
const DataType & constValue, services::Status * stat = NULL)
|
|
209
|
+
{
|
|
210
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL_EX(HomogenNumericTable, DataType, featuresEqual, ptr, nColumns, nRows, constValue);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Constructs a Numeric Table with memory allocation controlled via a flag
|
|
215
|
+
* \param[in] nColumns Number of columns in the table
|
|
216
|
+
* \param[in] nRows Number of rows in the table
|
|
217
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
218
|
+
* \param[out] stat Status of the numeric table construction
|
|
219
|
+
* \return Numeric table
|
|
220
|
+
*/
|
|
221
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag,
|
|
222
|
+
services::Status * stat = NULL)
|
|
223
|
+
{
|
|
224
|
+
return create(DictionaryIface::notEqual, nColumns, nRows, memoryAllocationFlag, stat);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Constructs a Numeric Table with memory allocation controlled via a flag
|
|
229
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
230
|
+
* \param[in] nColumns Number of columns in the table
|
|
231
|
+
* \param[in] nRows Number of rows in the table
|
|
232
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
233
|
+
* \param[out] stat Status of the numeric table construction
|
|
234
|
+
* \return Numeric table
|
|
235
|
+
*/
|
|
236
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows,
|
|
237
|
+
AllocationFlag memoryAllocationFlag, services::Status * stat = NULL)
|
|
238
|
+
{
|
|
239
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL_EX(HomogenNumericTable, DataType, featuresEqual, nColumns, nRows, memoryAllocationFlag);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Constructs a Numeric Table with memory allocation controlled via a flag and fills the table with a constant
|
|
244
|
+
* \param[in] nColumns Number of columns in the table
|
|
245
|
+
* \param[in] nRows Number of rows in the table
|
|
246
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
247
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
248
|
+
* \param[out] stat Status of the numeric table construction
|
|
249
|
+
* \return Numeric table initialized with a constant
|
|
250
|
+
*/
|
|
251
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag,
|
|
252
|
+
const DataType & constValue, services::Status * stat = NULL)
|
|
253
|
+
{
|
|
254
|
+
return create(DictionaryIface::notEqual, nColumns, nRows, memoryAllocationFlag, constValue, stat);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Constructs a numeric table with memory allocation controlled via a flag and fills the table with a constant
|
|
259
|
+
* \param[in] featuresEqual Flag that makes all features in the numeric table data dictionary equal
|
|
260
|
+
* \param[in] nColumns Number of columns in the table
|
|
261
|
+
* \param[in] nRows Number of rows in the table
|
|
262
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
263
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
264
|
+
* \param[out] stat Status of the numeric table construction
|
|
265
|
+
* \return Numeric table initialized with a constant
|
|
266
|
+
*/
|
|
267
|
+
static services::SharedPtr<HomogenNumericTable<DataType> > create(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows,
|
|
268
|
+
AllocationFlag memoryAllocationFlag, const DataType & constValue,
|
|
269
|
+
services::Status * stat = NULL)
|
|
270
|
+
{
|
|
271
|
+
DAAL_DEFAULT_CREATE_TEMPLATE_IMPL_EX(HomogenNumericTable, DataType, featuresEqual, nColumns, nRows, memoryAllocationFlag, constValue);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
virtual ~HomogenNumericTable() { freeDataMemoryImpl(); }
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Returns a pointer to a data set registered in a homogeneous Numeric Table
|
|
278
|
+
* \return Pointer to the data set
|
|
279
|
+
*/
|
|
280
|
+
DataType * getArray() const { return (DataType *)_ptr.get(); }
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Returns a pointer to a data set registered in a homogeneous Numeric Table
|
|
284
|
+
* \return Pointer to the data set
|
|
285
|
+
*/
|
|
286
|
+
services::SharedPtr<DataType> getArraySharedPtr() const { return services::reinterpretPointerCast<DataType, byte>(_ptr); }
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Sets a pointer to a homogeneous data set
|
|
290
|
+
* \param[in] ptr Pointer to the data set in the homogeneous format
|
|
291
|
+
* \DAAL_DEPRECATED
|
|
292
|
+
*/
|
|
293
|
+
DAAL_DEPRECATED services::Status setArray(DataType * const ptr)
|
|
294
|
+
{
|
|
295
|
+
freeDataMemoryImpl();
|
|
296
|
+
|
|
297
|
+
_ptr = services::SharedPtr<byte>((byte *)ptr, services::EmptyDeleter());
|
|
298
|
+
|
|
299
|
+
if (_ptr)
|
|
300
|
+
{
|
|
301
|
+
_memStatus = userAllocated;
|
|
302
|
+
}
|
|
303
|
+
else
|
|
304
|
+
{
|
|
305
|
+
_memStatus = notAllocated;
|
|
306
|
+
}
|
|
307
|
+
return services::Status();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Sets a pointer to a homogeneous data set
|
|
312
|
+
* \param[in] ptr Pointer to the data set in the homogeneous format
|
|
313
|
+
* \DAAL_DEPRECATED
|
|
314
|
+
*/
|
|
315
|
+
DAAL_DEPRECATED services::Status setArray(const services::SharedPtr<DataType> & ptr)
|
|
316
|
+
{
|
|
317
|
+
freeDataMemoryImpl();
|
|
318
|
+
|
|
319
|
+
_ptr = services::reinterpretPointerCast<byte, DataType>(ptr);
|
|
320
|
+
|
|
321
|
+
if (_ptr)
|
|
322
|
+
{
|
|
323
|
+
_memStatus = userAllocated;
|
|
324
|
+
}
|
|
325
|
+
else
|
|
326
|
+
{
|
|
327
|
+
_memStatus = notAllocated;
|
|
328
|
+
}
|
|
329
|
+
return services::Status();
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Sets a pointer to a homogeneous data set
|
|
334
|
+
* \param[in] ptr Pointer to the data set in the homogeneous format
|
|
335
|
+
* \param[in] nRows The number of rows stored in array
|
|
336
|
+
*/
|
|
337
|
+
services::Status setArray(DataType * const ptr, size_t nRows)
|
|
338
|
+
{
|
|
339
|
+
freeDataMemoryImpl();
|
|
340
|
+
|
|
341
|
+
_ptr = services::SharedPtr<byte>((byte *)ptr, services::EmptyDeleter());
|
|
342
|
+
_obsnum = nRows;
|
|
343
|
+
|
|
344
|
+
if (_ptr)
|
|
345
|
+
{
|
|
346
|
+
_memStatus = userAllocated;
|
|
347
|
+
}
|
|
348
|
+
else
|
|
349
|
+
{
|
|
350
|
+
_memStatus = notAllocated;
|
|
351
|
+
}
|
|
352
|
+
return services::Status();
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Sets a pointer to a homogeneous data set
|
|
357
|
+
* \param[in] ptr Pointer to the data set in the homogeneous format
|
|
358
|
+
* \param[in] nRows The number of rows stored in array
|
|
359
|
+
*/
|
|
360
|
+
services::Status setArray(services::SharedPtr<DataType> ptr, size_t nRows)
|
|
361
|
+
{
|
|
362
|
+
freeDataMemoryImpl();
|
|
363
|
+
|
|
364
|
+
_ptr = services::reinterpretPointerCast<byte, DataType>(ptr);
|
|
365
|
+
_obsnum = nRows;
|
|
366
|
+
|
|
367
|
+
if (_ptr)
|
|
368
|
+
{
|
|
369
|
+
_memStatus = userAllocated;
|
|
370
|
+
}
|
|
371
|
+
else
|
|
372
|
+
{
|
|
373
|
+
_memStatus = notAllocated;
|
|
374
|
+
}
|
|
375
|
+
return services::Status();
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Fills a numeric table with a constant
|
|
380
|
+
* \param[in] value Constant to initialize entries of the homogeneous numeric table
|
|
381
|
+
*/
|
|
382
|
+
template <typename T>
|
|
383
|
+
DAAL_EXPORT services::Status assign(T value)
|
|
384
|
+
{
|
|
385
|
+
if (_memStatus == notAllocated) return services::Status(services::ErrorEmptyHomogenNumericTable);
|
|
386
|
+
|
|
387
|
+
size_t nColumns = getNumberOfColumns();
|
|
388
|
+
size_t nRows = getNumberOfRows();
|
|
389
|
+
|
|
390
|
+
DataType * ptr = (DataType *)_ptr.get();
|
|
391
|
+
DataType valueDataType = (DataType)value;
|
|
392
|
+
|
|
393
|
+
internal::vectorAssignValueToArray<DataType>(ptr, nColumns * nRows, valueDataType);
|
|
394
|
+
|
|
395
|
+
return services::Status();
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Returns a pointer to the i-th row of a data set
|
|
400
|
+
* \param[in] i Index of the row
|
|
401
|
+
* \return Pointer to the i-th row
|
|
402
|
+
*/
|
|
403
|
+
DataType * operator[](size_t i)
|
|
404
|
+
{
|
|
405
|
+
size_t nColumns = getNumberOfColumns();
|
|
406
|
+
return (DataType *)_ptr.get() + i * nColumns;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* \copydoc NumericTable::assign
|
|
411
|
+
*/
|
|
412
|
+
services::Status assign(float value) override { return assign<DataType>((DataType)value); }
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* \copydoc NumericTable::assign
|
|
416
|
+
*/
|
|
417
|
+
services::Status assign(double value) override { return assign<DataType>((DataType)value); }
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* \copydoc NumericTable::assign
|
|
421
|
+
*/
|
|
422
|
+
services::Status assign(int value) override { return assign<DataType>((DataType)value); }
|
|
423
|
+
|
|
424
|
+
services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<double> & block) override
|
|
425
|
+
{
|
|
426
|
+
return getTBlock<double>(vector_idx, vector_num, rwflag, block);
|
|
427
|
+
}
|
|
428
|
+
services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<float> & block) override
|
|
429
|
+
{
|
|
430
|
+
return getTBlock<float>(vector_idx, vector_num, rwflag, block);
|
|
431
|
+
}
|
|
432
|
+
services::Status getBlockOfRows(size_t vector_idx, size_t vector_num, ReadWriteMode rwflag, BlockDescriptor<int> & block) override
|
|
433
|
+
{
|
|
434
|
+
return getTBlock<int>(vector_idx, vector_num, rwflag, block);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
services::Status releaseBlockOfRows(BlockDescriptor<double> & block) override { return releaseTBlock<double>(block); }
|
|
438
|
+
services::Status releaseBlockOfRows(BlockDescriptor<float> & block) override { return releaseTBlock<float>(block); }
|
|
439
|
+
services::Status releaseBlockOfRows(BlockDescriptor<int> & block) override { return releaseTBlock<int>(block); }
|
|
440
|
+
|
|
441
|
+
services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
442
|
+
BlockDescriptor<double> & block) override
|
|
443
|
+
{
|
|
444
|
+
return getTFeature<double>(feature_idx, vector_idx, value_num, rwflag, block);
|
|
445
|
+
}
|
|
446
|
+
services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
447
|
+
BlockDescriptor<float> & block) override
|
|
448
|
+
{
|
|
449
|
+
return getTFeature<float>(feature_idx, vector_idx, value_num, rwflag, block);
|
|
450
|
+
}
|
|
451
|
+
services::Status getBlockOfColumnValues(size_t feature_idx, size_t vector_idx, size_t value_num, ReadWriteMode rwflag,
|
|
452
|
+
BlockDescriptor<int> & block) override
|
|
453
|
+
{
|
|
454
|
+
return getTFeature<int>(feature_idx, vector_idx, value_num, rwflag, block);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
services::Status releaseBlockOfColumnValues(BlockDescriptor<double> & block) override { return releaseTFeature<double>(block); }
|
|
458
|
+
services::Status releaseBlockOfColumnValues(BlockDescriptor<float> & block) override { return releaseTFeature<float>(block); }
|
|
459
|
+
services::Status releaseBlockOfColumnValues(BlockDescriptor<int> & block) override { return releaseTFeature<int>(block); }
|
|
460
|
+
|
|
461
|
+
protected:
|
|
462
|
+
services::SharedPtr<byte> _ptr;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Constructor for an empty Numeric Table with a predefined NumericTableDictionary
|
|
466
|
+
* \param[in] ddictForHomogenNumericTable Pointer to the predefined NumericTableDictionary
|
|
467
|
+
*/
|
|
468
|
+
HomogenNumericTable(NumericTableDictionaryPtr ddictForHomogenNumericTable) : NumericTable(ddictForHomogenNumericTable) { _layout = aos; }
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Constructor for an empty Numeric Table
|
|
472
|
+
*/
|
|
473
|
+
HomogenNumericTable() : NumericTable(0, 0) {}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Constructor for a Numeric Table with user-allocated memory
|
|
477
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
478
|
+
* \param[in] nColumns Number of columns in the table
|
|
479
|
+
* \param[in] nRows Number of rows in the table
|
|
480
|
+
*/
|
|
481
|
+
HomogenNumericTable(DataType * const ptr, size_t nColumns = 0, size_t nRows = 0) : NumericTable(nColumns, nRows)
|
|
482
|
+
{
|
|
483
|
+
_layout = aos;
|
|
484
|
+
this->_status |= setArray(ptr, nRows);
|
|
485
|
+
|
|
486
|
+
NumericTableFeature df;
|
|
487
|
+
df.setType<DataType>();
|
|
488
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Constructor for a Numeric Table with user-allocated memory
|
|
493
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
494
|
+
* \param[in] nColumns Number of columns in the table
|
|
495
|
+
* \param[in] nRows Number of rows in the table
|
|
496
|
+
*/
|
|
497
|
+
HomogenNumericTable(const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows) : NumericTable(nColumns, nRows)
|
|
498
|
+
{
|
|
499
|
+
_layout = aos;
|
|
500
|
+
this->_status |= setArray(ptr, nRows);
|
|
501
|
+
|
|
502
|
+
NumericTableFeature df;
|
|
503
|
+
df.setType<DataType>();
|
|
504
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Constructor for a Numeric Table with user-allocated memory
|
|
509
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
510
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
511
|
+
* \param[in] nColumns Number of columns in the table
|
|
512
|
+
* \param[in] nRows Number of rows in the table
|
|
513
|
+
*/
|
|
514
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, DataType * const ptr = 0, size_t nColumns = 0, size_t nRows = 0)
|
|
515
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
516
|
+
{
|
|
517
|
+
_layout = aos;
|
|
518
|
+
this->_status |= setArray(ptr, nRows);
|
|
519
|
+
|
|
520
|
+
NumericTableFeature df;
|
|
521
|
+
df.setType<DataType>();
|
|
522
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Constructor for a Numeric Table with user-allocated memory
|
|
527
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
528
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
529
|
+
* \param[in] nColumns Number of columns in the table
|
|
530
|
+
* \param[in] nRows Number of rows in the table
|
|
531
|
+
*/
|
|
532
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows)
|
|
533
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
534
|
+
{
|
|
535
|
+
_layout = aos;
|
|
536
|
+
this->_status |= setArray(ptr, nRows);
|
|
537
|
+
|
|
538
|
+
NumericTableFeature df;
|
|
539
|
+
df.setType<DataType>();
|
|
540
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Constructor for a Numeric Table with user-allocated memory and filling the table with a constant
|
|
545
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
546
|
+
* \param[in] nColumns Number of columns in the table
|
|
547
|
+
* \param[in] nRows Number of rows in the table
|
|
548
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
549
|
+
*/
|
|
550
|
+
HomogenNumericTable(DataType * const ptr, size_t nColumns, size_t nRows, const DataType & constValue) : NumericTable(nColumns, nRows)
|
|
551
|
+
{
|
|
552
|
+
_layout = aos;
|
|
553
|
+
this->_status |= setArray(ptr, nRows);
|
|
554
|
+
|
|
555
|
+
NumericTableFeature df;
|
|
556
|
+
df.setType<DataType>();
|
|
557
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
558
|
+
this->_status |= assign<DataType>(constValue);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Constructor for a Numeric Table with user-allocated memory and filling the table with a constant
|
|
563
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
564
|
+
* \param[in] nColumns Number of columns in the table
|
|
565
|
+
* \param[in] nRows Number of rows in the table
|
|
566
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
567
|
+
*/
|
|
568
|
+
HomogenNumericTable(const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows, const DataType & constValue)
|
|
569
|
+
: NumericTable(nColumns, nRows)
|
|
570
|
+
{
|
|
571
|
+
_layout = aos;
|
|
572
|
+
this->_status |= setArray(ptr, nRows);
|
|
573
|
+
|
|
574
|
+
NumericTableFeature df;
|
|
575
|
+
df.setType<DataType>();
|
|
576
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
577
|
+
this->_status |= assign<DataType>(constValue);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Constructor for a Numeric Table with user-allocated memory and filling the table with a constant
|
|
582
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
583
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
584
|
+
* \param[in] nColumns Number of columns in the table
|
|
585
|
+
* \param[in] nRows Number of rows in the table
|
|
586
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
587
|
+
*/
|
|
588
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, DataType * const ptr, size_t nColumns, size_t nRows,
|
|
589
|
+
const DataType & constValue)
|
|
590
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
591
|
+
{
|
|
592
|
+
_layout = aos;
|
|
593
|
+
this->_status |= setArray(ptr, nRows);
|
|
594
|
+
|
|
595
|
+
NumericTableFeature df;
|
|
596
|
+
df.setType<DataType>();
|
|
597
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
598
|
+
this->_status |= assign<DataType>(constValue);
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Constructor for a Numeric Table with user-allocated memory and filling the table with a constant
|
|
603
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
604
|
+
* \param[in] ptr Pointer to and an array with a homogeneous data set
|
|
605
|
+
* \param[in] nColumns Number of columns in the table
|
|
606
|
+
* \param[in] nRows Number of rows in the table
|
|
607
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
608
|
+
*/
|
|
609
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
610
|
+
const DataType & constValue)
|
|
611
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
612
|
+
{
|
|
613
|
+
_layout = aos;
|
|
614
|
+
this->_status |= setArray(ptr, nRows);
|
|
615
|
+
|
|
616
|
+
NumericTableFeature df;
|
|
617
|
+
df.setType<DataType>();
|
|
618
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
619
|
+
this->_status |= assign<DataType>(constValue);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Constructor for a Numeric Table with memory allocation controlled via a flag
|
|
624
|
+
* \param[in] nColumns Number of columns in the table
|
|
625
|
+
* \param[in] nRows Number of rows in the table
|
|
626
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
627
|
+
*/
|
|
628
|
+
HomogenNumericTable(size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag) : NumericTable(nColumns, nRows)
|
|
629
|
+
{
|
|
630
|
+
_layout = aos;
|
|
631
|
+
|
|
632
|
+
NumericTableFeature df;
|
|
633
|
+
df.setType<DataType>();
|
|
634
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
635
|
+
|
|
636
|
+
if (memoryAllocationFlag == doAllocate) this->_status |= allocateDataMemoryImpl();
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Constructor for a Numeric Table with memory allocation controlled via a flag
|
|
641
|
+
* \param[in] featuresEqual Flag that makes all features in the Numeric Table Data Dictionary equal
|
|
642
|
+
* \param[in] nColumns Number of columns in the table
|
|
643
|
+
* \param[in] nRows Number of rows in the table
|
|
644
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
645
|
+
*/
|
|
646
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag)
|
|
647
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
648
|
+
{
|
|
649
|
+
_layout = aos;
|
|
650
|
+
|
|
651
|
+
NumericTableFeature df;
|
|
652
|
+
df.setType<DataType>();
|
|
653
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
654
|
+
|
|
655
|
+
if (memoryAllocationFlag == doAllocate) this->_status |= allocateDataMemoryImpl();
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Constructor for a Numeric Table with memory allocation controlled via a flag and filling the table with a constant
|
|
660
|
+
* \param[in] nColumns Number of columns in the table
|
|
661
|
+
* \param[in] nRows Number of rows in the table
|
|
662
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
663
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
664
|
+
*/
|
|
665
|
+
HomogenNumericTable(size_t nColumns, size_t nRows, NumericTable::AllocationFlag memoryAllocationFlag, const DataType & constValue)
|
|
666
|
+
: NumericTable(nColumns, nRows)
|
|
667
|
+
{
|
|
668
|
+
_layout = aos;
|
|
669
|
+
|
|
670
|
+
NumericTableFeature df;
|
|
671
|
+
df.setType<DataType>();
|
|
672
|
+
|
|
673
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
674
|
+
|
|
675
|
+
if (memoryAllocationFlag == doAllocate) this->_status |= allocateDataMemoryImpl();
|
|
676
|
+
|
|
677
|
+
this->_status |= assign<DataType>(constValue);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Constructor for a numeric table with memory allocation controlled via a flag and filling the table with a constant
|
|
682
|
+
* \param[in] featuresEqual Flag that makes all features in the numeric table data dictionary equal
|
|
683
|
+
* \param[in] nColumns Number of columns in the table
|
|
684
|
+
* \param[in] nRows Number of rows in the table
|
|
685
|
+
* \param[in] memoryAllocationFlag Flag that controls internal memory allocation for data in the numeric table
|
|
686
|
+
* \param[in] constValue Constant to initialize entries of the homogeneous numeric table
|
|
687
|
+
*/
|
|
688
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows,
|
|
689
|
+
NumericTable::AllocationFlag memoryAllocationFlag, const DataType & constValue)
|
|
690
|
+
: NumericTable(nColumns, nRows, featuresEqual)
|
|
691
|
+
{
|
|
692
|
+
_layout = aos;
|
|
693
|
+
|
|
694
|
+
NumericTableFeature df;
|
|
695
|
+
df.setType<DataType>();
|
|
696
|
+
|
|
697
|
+
this->_status |= _ddict->setAllFeatures(df);
|
|
698
|
+
|
|
699
|
+
if (memoryAllocationFlag == doAllocate)
|
|
700
|
+
{
|
|
701
|
+
this->_status |= allocateDataMemoryImpl();
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
this->_status |= assign<DataType>(constValue);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
HomogenNumericTable(services::Status & st) : NumericTable(0, 0, DictionaryIface::notEqual, st) {}
|
|
708
|
+
|
|
709
|
+
HomogenNumericTable(NumericTableDictionaryPtr ddictForHomogenNumericTable, services::Status & st) : NumericTable(ddictForHomogenNumericTable, st)
|
|
710
|
+
{
|
|
711
|
+
_layout = aos;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
715
|
+
services::Status & st)
|
|
716
|
+
: NumericTable(nColumns, nRows, featuresEqual, st)
|
|
717
|
+
{
|
|
718
|
+
if (!st) return; // failed to construct base class
|
|
719
|
+
_layout = aos;
|
|
720
|
+
st |= setArray(ptr, nRows);
|
|
721
|
+
|
|
722
|
+
NumericTableFeature df;
|
|
723
|
+
df.setType<DataType>();
|
|
724
|
+
st |= _ddict->setAllFeatures(df);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, const services::SharedPtr<DataType> & ptr, size_t nColumns, size_t nRows,
|
|
728
|
+
const DataType & constValue, services::Status & st)
|
|
729
|
+
: NumericTable(nColumns, nRows, featuresEqual, st)
|
|
730
|
+
{
|
|
731
|
+
if (!st) return; // failed to construct base class
|
|
732
|
+
_layout = aos;
|
|
733
|
+
st |= setArray(ptr, nRows);
|
|
734
|
+
|
|
735
|
+
NumericTableFeature df;
|
|
736
|
+
df.setType<DataType>();
|
|
737
|
+
st |= _ddict->setAllFeatures(df);
|
|
738
|
+
st |= assign<DataType>(constValue);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows, AllocationFlag memoryAllocationFlag,
|
|
742
|
+
services::Status & st)
|
|
743
|
+
: NumericTable(nColumns, nRows, featuresEqual, st)
|
|
744
|
+
{
|
|
745
|
+
if (!st) return; // failed to construct base class
|
|
746
|
+
_layout = aos;
|
|
747
|
+
|
|
748
|
+
NumericTableFeature df;
|
|
749
|
+
df.setType<DataType>();
|
|
750
|
+
st |= _ddict->setAllFeatures(df);
|
|
751
|
+
|
|
752
|
+
if (memoryAllocationFlag == doAllocate && nColumns > 0 && nRows > 0) st |= allocateDataMemoryImpl();
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
HomogenNumericTable(DictionaryIface::FeaturesEqual featuresEqual, size_t nColumns, size_t nRows,
|
|
756
|
+
NumericTable::AllocationFlag memoryAllocationFlag, const DataType & constValue, services::Status & st);
|
|
757
|
+
|
|
758
|
+
services::Status allocateDataMemoryImpl(daal::MemType /*type*/ = daal::dram) override
|
|
759
|
+
{
|
|
760
|
+
freeDataMemoryImpl();
|
|
761
|
+
|
|
762
|
+
size_t size = getNumberOfColumns() * getNumberOfRows();
|
|
763
|
+
|
|
764
|
+
if (!(0 == getNumberOfColumns()) && !(0 == getNumberOfRows()))
|
|
765
|
+
{
|
|
766
|
+
DAAL_CHECK((getNumberOfColumns() == size / getNumberOfRows()),
|
|
767
|
+
services::throwIfPossible(services::Status(services::ErrorBufferSizeIntegerOverflow)));
|
|
768
|
+
|
|
769
|
+
size_t sizeEx = size * sizeof(DataType);
|
|
770
|
+
DAAL_CHECK((size == sizeEx / sizeof(DataType)), services::throwIfPossible(services::Status(services::ErrorBufferSizeIntegerOverflow)));
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
if (size == 0)
|
|
774
|
+
{
|
|
775
|
+
return services::Status(getNumberOfColumns() == 0 ? services::ErrorIncorrectNumberOfFeatures :
|
|
776
|
+
services::ErrorIncorrectNumberOfObservations);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
_ptr = services::SharedPtr<byte>((byte *)daal::services::daal_malloc(size * sizeof(DataType)), services::ServiceDeleter());
|
|
780
|
+
|
|
781
|
+
if (!_ptr) return services::Status(services::ErrorMemoryAllocationFailed);
|
|
782
|
+
|
|
783
|
+
_memStatus = internallyAllocated;
|
|
784
|
+
return services::Status();
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
void freeDataMemoryImpl() override
|
|
788
|
+
{
|
|
789
|
+
_ptr = services::SharedPtr<byte>();
|
|
790
|
+
_memStatus = notAllocated;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
template <typename Archive, bool onDeserialize>
|
|
794
|
+
services::Status serialImpl(Archive * archive)
|
|
795
|
+
{
|
|
796
|
+
NumericTable::serialImpl<Archive, onDeserialize>(archive);
|
|
797
|
+
|
|
798
|
+
if (onDeserialize)
|
|
799
|
+
{
|
|
800
|
+
allocateDataMemoryImpl();
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
size_t size = getNumberOfColumns() * getNumberOfRows();
|
|
804
|
+
|
|
805
|
+
archive->set((DataType *)_ptr.get(), size);
|
|
806
|
+
|
|
807
|
+
return services::Status();
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
private:
|
|
811
|
+
byte * internal_getBlockOfRows(size_t idx)
|
|
812
|
+
{
|
|
813
|
+
size_t _featnum = _ddict->getNumberOfFeatures();
|
|
814
|
+
return _ptr.get() + _featnum * idx * sizeof(DataType);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
byte * internal_getBlockOfRows(size_t idx, size_t feat_idx)
|
|
818
|
+
{
|
|
819
|
+
size_t _featnum = _ddict->getNumberOfFeatures();
|
|
820
|
+
return _ptr.get() + _featnum * idx * sizeof(DataType) + feat_idx * sizeof(DataType);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
protected:
|
|
824
|
+
template <typename T>
|
|
825
|
+
services::Status getTBlock(size_t idx, size_t nrows, int rwFlag, BlockDescriptor<T> & block)
|
|
826
|
+
{
|
|
827
|
+
size_t ncols = getNumberOfColumns();
|
|
828
|
+
size_t nobs = getNumberOfRows();
|
|
829
|
+
block.setDetails(0, idx, rwFlag);
|
|
830
|
+
|
|
831
|
+
if (idx >= nobs)
|
|
832
|
+
{
|
|
833
|
+
block.resizeBuffer(ncols, 0);
|
|
834
|
+
return services::Status();
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
nrows = (idx + nrows < nobs) ? nrows : nobs - idx;
|
|
838
|
+
|
|
839
|
+
if (IsSameType<T, DataType>::value)
|
|
840
|
+
{
|
|
841
|
+
block.setPtr(&_ptr, internal_getBlockOfRows(idx), ncols, nrows);
|
|
842
|
+
}
|
|
843
|
+
else
|
|
844
|
+
{
|
|
845
|
+
if (!block.resizeBuffer(ncols, nrows)) return services::Status(services::ErrorMemoryAllocationFailed);
|
|
846
|
+
|
|
847
|
+
if (rwFlag & (int)readOnly)
|
|
848
|
+
{
|
|
849
|
+
byte * location = internal_getBlockOfRows(idx);
|
|
850
|
+
|
|
851
|
+
for (size_t i = 0; i < nrows; i++)
|
|
852
|
+
{
|
|
853
|
+
internal::getVectorUpCast(features::internal::getIndexNumType<DataType>(), internal::getConversionDataType<T>())(
|
|
854
|
+
ncols, ((DataType *)location) + i * ncols, ((T *)block.getBlockPtr()) + i * ncols);
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
return services::Status();
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
template <typename T>
|
|
862
|
+
services::Status releaseTBlock(BlockDescriptor<T> & block)
|
|
863
|
+
{
|
|
864
|
+
if (block.getRWFlag() & (int)writeOnly)
|
|
865
|
+
{
|
|
866
|
+
byte * location = internal_getBlockOfRows(block.getRowsOffset());
|
|
867
|
+
size_t ncols = getNumberOfColumns();
|
|
868
|
+
size_t nrows = block.getNumberOfRows();
|
|
869
|
+
|
|
870
|
+
if (IsSameType<T, DataType>::value)
|
|
871
|
+
{
|
|
872
|
+
if ((T *)block.getBlockPtr() != (T *)location)
|
|
873
|
+
{
|
|
874
|
+
int result =
|
|
875
|
+
daal::services::internal::daal_memcpy_s(location, nrows * ncols * sizeof(T), block.getBlockPtr(), nrows * ncols * sizeof(T));
|
|
876
|
+
DAAL_CHECK(!result, services::ErrorMemoryCopyFailedInternal);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
else
|
|
880
|
+
{
|
|
881
|
+
for (size_t i = 0; i < nrows; i++)
|
|
882
|
+
{
|
|
883
|
+
internal::getVectorDownCast(features::internal::getIndexNumType<DataType>(), internal::getConversionDataType<T>())(
|
|
884
|
+
ncols, ((T *)block.getBlockPtr()) + i * ncols, ((DataType *)location) + i * ncols);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
block.reset();
|
|
889
|
+
return services::Status();
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
template <typename T>
|
|
893
|
+
services::Status getTFeature(size_t feat_idx, size_t idx, size_t nrows, int rwFlag, BlockDescriptor<T> & block)
|
|
894
|
+
{
|
|
895
|
+
size_t ncols = getNumberOfColumns();
|
|
896
|
+
size_t nobs = getNumberOfRows();
|
|
897
|
+
block.setDetails(feat_idx, idx, rwFlag);
|
|
898
|
+
|
|
899
|
+
if (idx >= nobs)
|
|
900
|
+
{
|
|
901
|
+
block.resizeBuffer(1, 0);
|
|
902
|
+
return services::Status();
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
nrows = (idx + nrows < nobs) ? nrows : nobs - idx;
|
|
906
|
+
|
|
907
|
+
if ((IsSameType<T, DataType>::value) && (ncols == 1))
|
|
908
|
+
{
|
|
909
|
+
block.setPtr(&_ptr, internal_getBlockOfRows(idx), ncols, nrows);
|
|
910
|
+
}
|
|
911
|
+
else
|
|
912
|
+
{
|
|
913
|
+
if (!block.resizeBuffer(1, nrows)) return services::Status(services::ErrorMemoryAllocationFailed);
|
|
914
|
+
|
|
915
|
+
if (rwFlag & (int)readOnly)
|
|
916
|
+
{
|
|
917
|
+
DataType * location = (DataType *)internal_getBlockOfRows(idx, feat_idx);
|
|
918
|
+
T * buffer = block.getBlockPtr();
|
|
919
|
+
internal::getVectorStrideUpCast(features::internal::getIndexNumType<DataType>(), internal::getConversionDataType<T>())(
|
|
920
|
+
nrows, location, sizeof(DataType) * ncols, buffer, sizeof(T));
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
return services::Status();
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
template <typename T>
|
|
927
|
+
services::Status releaseTFeature(BlockDescriptor<T> & block)
|
|
928
|
+
{
|
|
929
|
+
if (block.getRWFlag() & (int)writeOnly)
|
|
930
|
+
{
|
|
931
|
+
size_t ncols = getNumberOfColumns();
|
|
932
|
+
DataType * location = (DataType *)internal_getBlockOfRows(block.getRowsOffset(), block.getColumnsOffset());
|
|
933
|
+
internal::getVectorStrideDownCast(features::internal::getIndexNumType<DataType>(), internal::getConversionDataType<T>())(
|
|
934
|
+
block.getNumberOfRows(), block.getBlockPtr(), sizeof(T), location, ncols * sizeof(DataType));
|
|
935
|
+
}
|
|
936
|
+
block.reset();
|
|
937
|
+
return services::Status();
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
services::Status setNumberOfColumnsImpl(size_t ncol) override
|
|
941
|
+
{
|
|
942
|
+
if (_ddict->getNumberOfFeatures() != ncol)
|
|
943
|
+
{
|
|
944
|
+
_ddict->resetDictionary();
|
|
945
|
+
_ddict->setNumberOfFeatures(ncol);
|
|
946
|
+
|
|
947
|
+
NumericTableFeature df;
|
|
948
|
+
df.setType<DataType>();
|
|
949
|
+
_ddict->setAllFeatures(df);
|
|
950
|
+
}
|
|
951
|
+
return services::Status();
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
/** @} */
|
|
955
|
+
} // namespace interface1
|
|
956
|
+
using interface1::HomogenNumericTable;
|
|
957
|
+
|
|
958
|
+
} // namespace data_management
|
|
959
|
+
} // namespace daal
|
|
960
|
+
#endif
|