-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add correlation heatmap functions #67
Conversation
simonhkswan
commented
Aug 3, 2021
•
edited by Hilly12
Loading
edited by Hilly12
- add boolean Kruskal-Wallis H Test for proxy detection
- update non-linear metrics to suppress some warnings (so they can be used in docs)
- fix of compute_correlation_metrics
- addition of helper function for compute_correlation_metrics to use in list comprehensions
- addition of multiprocessing to compute_correlation_metrics to increase speed
- update of two_column_heatmap type signature and docstring
- scale heatmap size based on input
8e43b56
to
966199d
Compare
966199d
to
60d54b2
Compare
This reverts commit 60d54b2.
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, thanks! Just some tiny docstring formatting to resolve.
Args: | ||
|
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.
Don't need space after "Args"
@@ -22,8 +22,8 @@ def find_sensitive_correlations( | |||
"""Looks at the columns that are not considered to be immediately sensitive and finds if any is strongly | |||
correlated with a sensitive column, specifying both the sensitive column name and the sensitive category | |||
it is a part of. | |||
|
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.
Need a space here before "Args"
@@ -91,8 +91,8 @@ def find_column_correlation( | |||
or the column corresponding to the given name. | |||
If matches are found, a list containing the correlated | |||
column names and its associated sensitive category, respectively, is returned. | |||
|
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.
Need a space here before "Args"
Args: | ||
|
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.
Don't need space after "Args"
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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!