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

Notebook size #2

Closed
michalk8 opened this issue May 23, 2019 · 1 comment
Closed

Notebook size #2

michalk8 opened this issue May 23, 2019 · 1 comment

Comments

@michalk8
Copy link
Contributor

michalk8 commented May 23, 2019

The notebook size (analysis_template.ipynb) is extremely large because of these plots:

  • velocity_plot
  • link_plot
@michalk8
Copy link
Contributor Author

michalk8 commented Jul 1, 2019

In the velocity plot, the GP now only uses 100 points (instead of allf points on the x-axis) to plot the error bounds, so that the size of the plot greatly reduced.
link_plotnow offers 2 subsampling strategies, with which user can control the #points (ideally < 1000). By default, sampling=None. The 2 strategies are:

  • sampling='uniform': uniformly spaced points in the emedding (default step_size=30)
  • sampling='density': sampling based on the density in the embedding (default sample_size=500)

Since we cannot really use precomputed distance matrix (especially in the case of distance='dpt'), this seems like the only option.

@michalk8 michalk8 closed this as completed Jul 1, 2019
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

No branches or pull requests

1 participant