Closed jaoleary closed 3 months ago
You can select posterior samples (weighted or unweighted) by cuts, and compute their relative probability from that.
For a rigorious automated approach, we would need a mathematical definition that identifies a local minimum, which requires choosing a threshold.
if at any point during the run more than one mode is identified (as below)
are these cluster values stored in the output anywhere or is this information discarded? I see that current cluster information is stored in the transformLayer
Yeah, to achieve a high computational efficiency, this information is overwritten in place. You could write a viz_callback function and store it.
Alternatively, you could have a look at these two functions:
You could combine these three codes to read a file, build an initial MLFriends region, and in the loop update the region every N iterations, and observe the number of clusters.
.... updated a link
great thank for the feedback, i will try that!
Description
Problem: I would like to identify and characterize some local modes in addition to the global solution.
Setup: As a test case run The
ReactiveNestedSampler
on a two-dimensionalStyblinksi and Tang
function. The test problem has a single global minima and three additional local minima (see image below)Outcome: As expected the sampler converges to the global solution in the test problem.
During the run, the local modes are identified and labeled but disappear as the model converges (as expected).
Question:
What I Did
Using the code below I also:
frac_remain
Lepsilon
max_num_improvement_loops=0