-
Notifications
You must be signed in to change notification settings - Fork 549
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
[REVIEW] Adjusted Rand Index implementation #652
[REVIEW] Adjusted Rand Index implementation #652
Conversation
venkywonka
commented
Jun 4, 2019
- CUDA implementation of the adjusted rand index metric
- gtests for the same
- wrapper for exposing to the cuML API
- implemented CUDA header that calculates the adjusted rand index between two clusterings - implemented the gtests for the same
- modifying the dOxygen comments - minor changes to formatting and comments
- reduced a redundant parameter that the adjusted-rand-index function implementation takes as input - wrote a wrapper to expose this module to cuml API - Merged remote-tracking branch 'upstream/branch-0.8' into fea-ext-adjusted-rand-index-implementation
- changed the wrapper parameter types of y and y-hat from double to int since they represent nominal/ordinal data - added `prims/add_sub_dev_scalar.cu` to CMakeLists.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will take a look over this PR tomorrow.
…On Fri, Jun 7, 2019 at 12:49 AM Thejaswi Rao ***@***.***> wrote:
***@***.**** approved this pull request.
Changes LGTM.
@dantegd <https://github.com/dantegd> @cjnolet
<https://github.com/cjnolet> please merge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#652?email_source=notifications&email_token=AAJPKYHKFWIEJWCALPE3FFTPZHSEBA5CNFSM4HS3NIX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB23ZSLI#pullrequestreview-246913325>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJPKYHODPNX6XUDEPJFSKDPZHSEBANCNFSM4HS3NIXQ>
.
|
- refactored the types starting from the wrapper function to it's traces in further functions
Were you able to review this @cjnolet ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small change, otherwise this PR LGTM.
|
||
//workspace allocation | ||
char* pWorkspace = nullptr; | ||
size_t workspaceSz = MLCommon::Metrics::getCMatrixWorkspaceSize( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use a more descriptive name since this function is sharing the namespace with everything else under metrics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
- changed the 'getCMatrixWorkspaceSize' method in contingencyMatrix.h and all it's other occurrances to 'getContingencyMatrixWorkspaceSize'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Will merge after conflicts are fixed.