-
Notifications
You must be signed in to change notification settings - Fork 27
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
Live-update histograms for query results #19
Comments
I think a better solution is to have hist and other viz routines (optionally) take a thunk (instead of a list of data points). This thunk is a data stream, so this hist routine repeatedly asks for the next data point and updates the histogram, until some special 'nomoredata' object is returned. This will interface nicely with the switch from diverse |
Writing down our discussion today: the new |
Also, re new |
Have a flag to or variant of mh-query and rejection-query that makes a histogram of samples and updates it on each sample. This can be done by extending probabilistic-js inference routines to take a listener function (which is called when a sample is taken), and then creating a listener that calls the _hist vizualization tool.
The text was updated successfully, but these errors were encountered: