-
Notifications
You must be signed in to change notification settings - Fork 310
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
Removes APIs that have been deprecated and have exceeded the grace period, improves *_warning_wrapper performance #4176
Removes APIs that have been deprecated and have exceeded the grace period, improves *_warning_wrapper performance #4176
Conversation
…ded the grace period, adds option to bypass expensive inspect.stack() lookup when forming warning messages, removes unnecessary api_tools.py wrapper in cugraph and calls pylibcugraph api_tools directly.
…ests to not use deprecated/promoted experimental APIs.
…4-remove_plc_experimental
# namespace name if it could not be found. | ||
call_stack = inspect.stack() | ||
calling_frame = call_stack[1].frame | ||
obj_namespace_name = calling_frame.f_locals.get("__name__") |
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.
That's really cool.
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.
LGTM
…tation, fix errors, and clean up for clarity. Removes deprecated do_expensive_check option and cleans up docstring for jaccard functions.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
The explanations helped explain the algorithm.
Also, we have been keeping an overall history in the notebooks.
Do you think this should be changed?
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.
thanks for explaining the changes.
/merge |
Followup to PR #4176 to add additional detail to the Jaccard notebook. * Adds revision history to bottom * Adds more detail to Jaccard description * Adds cell output * Adds example of using the `vertex_pair` arg Authors: - Rick Ratzel (https://github.com/rlratzel) Approvers: - Don Acosta (https://github.com/acostadon) - Brad Rees (https://github.com/BradReesWork) URL: #4189
*_warning_wrapper
utilities to accept a namespace name to use in the warning messages instead of making an expensiveinspect.stack()
call.inspect.stack()
is still used if a namespace name was not provided. This reduces overallimport
time, especially when used withcudf.pandas
(attn: @shwina).cugraph.utilities.api_tools
module in favor of just using the equivalentpylibcugraph
module directly.