Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic statistics algorithm for sparse data #2548

Merged
merged 37 commits into from
Nov 22, 2023

Conversation

inteldimitrius
Copy link
Contributor

Description

Implemented:

  • basic statistics algorithm, calculating: min, max, sum, sum squares, sum squares centered, variance, standard deviation, variation and second order raw moment using csr_table
  • tests
  • test engine's random csr table generation

@Vika-F Vika-F self-requested a review October 16, 2023 08:53
@inteldimitrius inteldimitrius force-pushed the dev_dmitriyo_csr_lom branch 2 times, most recently from 9c50984 to aa7122b Compare October 27, 2023 17:00
@inteldimitrius inteldimitrius marked this pull request as ready for review October 27, 2023 17:09
Copy link
Contributor

@Vika-F Vika-F left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding first sparse algorithm that works on GPU into oneDAL!

The code looks good in general.
My biggest concerns are the level of code commenting and code duplications in CPU implementation.

cpp/oneapi/dal/algo/basic_statistics/test/batch.cpp Outdated Show resolved Hide resolved
cpp/oneapi/dal/table/csr.cpp Outdated Show resolved Hide resolved
cpp/oneapi/dal/test/engine/csr_table_builder.hpp Outdated Show resolved Hide resolved
cpp/oneapi/dal/test/engine/csr_table_builder.hpp Outdated Show resolved Hide resolved
Copy link
Contributor

@Vika-F Vika-F left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inteldimitrius inteldimitrius merged commit d1ed4fd into oneapi-src:master Nov 22, 2023
13 checks passed
@inteldimitrius
Copy link
Contributor Author

/intelci: run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants