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

Create better (and simpler) plotting routines for density based approach #405

Open
eecsu opened this issue May 9, 2023 · 0 comments
Open

Comments

@eecsu
Copy link
Contributor

eecsu commented May 9, 2023

2d marginal scatter plots with r values (using get_weights from the sample set) should be made as well as kde approximations in 1 and 2d based on r values.

This should be in a different module since plotP.py was made for plotting based on probability computations not densities. Suggested name of new module: plotDensities.py.

One such 2d scatter plot could be done as simply as follows:

plt.scatter(input_samples.get_values()[:,0], input_samples.get_values()[:,1],
c=input_samples.get_weights())

or something to that effect.

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