BlackBoxOptim.jl icon indicating copy to clipboard operation
BlackBoxOptim.jl copied to clipboard

[Q] What does `improv/step: 0.700 (last = 1.0000)` mean?

Open NightMachinery opened this issue 5 years ago • 1 comments

NightMachinery avatar Jul 21 '20 19:07 NightMachinery

Looked into this myself as I needed to know the answer.

improve/step is of course improvements per step taken.

If I understand the code correctly, the first number (0.700) is a running average counter of the number of steps that resulted in an improved population during the course of the optimization run.

The second number (last = 1.0 in this case) shows the same, but only for the steps taken since the last report.

So this is telling me that 70% of all steps taken so far resulted in an improved population, and 100% of steps taken since the last report resulted in an improved population.

(someone correct me if I'm wrong here)

To give another example:

1530 steps, improv/step: 0.388 (last = 0.3420)

Of the 1530 steps taken so far, 38.8% improved the population. Of the steps taken since the report was displayed, 34.2% improved the population.

Hope this helps.

ConnectedSystems avatar Jul 13 '21 13:07 ConnectedSystems