Skip to content

Slice minimal#5

Open
MattiaVarrone wants to merge 5 commits intoadammoss:masterfrom
MattiaVarrone:slice_minimal
Open

Slice minimal#5
MattiaVarrone wants to merge 5 commits intoadammoss:masterfrom
MattiaVarrone:slice_minimal

Conversation

@MattiaVarrone
Copy link
Copy Markdown

Slice sampling has been implemented.

See example/slice/run.py for an example.
You can press key 'g' to show a slice sampling step while the program is running.

To use:
-Create an instance of NestedSampler
-Append "slice" to the parameter 'strategy' of Sampler.run()
If you want to plot the trace of a slice sampling step:
-Set plot_slice_trace=True in the parameters of run()
-press keyboard 'g' whenever you want to show the image live
To use:
-Create an instance of NestedSampler
-Append "slice" to the parameter 'strategy' of Sampler.run()
If you want to plot the trace of a slice sampling step:
-Set plot_slice_trace=True in the parameters of run()
-press keyboard 'g' whenever you want to show the image live
To use:
-Create an instance of NestedSampler
-Append "slice" to the parameter 'strategy' of Sampler.run()
If you want to plot the trace of a slice sampling step:
-Set plot_slice_trace=True in the parameters of run()
-press keyboard 'g' whenever you want to show the image live
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.

1 participant