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

fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members #15

Merged
merged 7 commits into from
Sep 28, 2019

Conversation

Waterpine
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have already squashed the commits and make the commit message conform to the project standard.
  • I have already marked the commit with "BREAKING CHANGE" or "Fixes #" if needed.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@Waterpine Waterpine changed the title fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members Sep 11, 2019
@Waterpine Waterpine changed the title fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members Work in progress fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members Sep 11, 2019
@dovahcrow dovahcrow force-pushed the plot_corr2 branch 2 times, most recently from b5429fd to 74fd22b Compare September 25, 2019 23:16
inc_point_y.append(data_y[max_idx_inc])
dec_point_x.append(data_x[max_idx_dec])
dec_point_y.append(data_y[max_idx_dec])
for i in range(len(data_x)):
Copy link
Contributor

Choose a reason for hiding this comment

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

The copy of the data could be avoided by incrementally computing Pearson correlation coefficient. This can be done in the next pr.

fig = _vis_correlation_pd_x_y_k(
intermediate=intermediate,
params=params
pd_data_frame=pd_data_frame, x_name=x_name, y_name=y_name, k=k
Copy link
Contributor

Choose a reason for hiding this comment

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

Whether the style is better than previous version? (also for other style change in this file)

tooltips = [("x", "@x"), ("y", "@y"), ("z", "@z")]
hover = HoverTool(tooltips=tooltips)
if not data_p or not data_k or not data_s:
raise Warning("The result is empty")
Copy link
Contributor

Choose a reason for hiding this comment

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

Just show warning message, do not raise.

@dovahcrow dovahcrow changed the title Work in progress fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members Sep 28, 2019
@dovahcrow dovahcrow force-pushed the plot_corr2 branch 7 times, most recently from ce6c0e7 to a1aff9e Compare September 28, 2019 02:18
@dovahcrow dovahcrow merged commit bbf400c into master Sep 28, 2019
@dovahcrow dovahcrow deleted the plot_corr2 branch September 28, 2019 02:25
dovahcrow added a commit that referenced this pull request May 29, 2020
fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members
devinllu pushed a commit to devinllu/dataprep that referenced this pull request Nov 9, 2021
fix(eda.plot_missing & eda.plot_correlation): based on the comments proposed by the lab members
fatbuddy added a commit to fatbuddy/dataprep that referenced this pull request Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants