Fix: Corrected the external archive error in the jSO algorithm#1263
Fix: Corrected the external archive error in the jSO algorithm#1263NAThompson merged 1 commit intoboostorg:developfrom
Conversation
Problem Description: In the jSO algorithm, the external archive was storing successful trials, but according to the original paper, it should store eliminated individuals. The external archive is meant to maintain diversity, and storing successful trials fails to achieve this effect. Solution: Modified the jSO algorithm's external archive update to store eliminated individuals.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1263 +/- ##
========================================
Coverage 93.91% 93.91%
========================================
Files 661 661
Lines 54866 54866
========================================
Hits 51526 51526
Misses 3340 3340
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
@Tomato-in : You are correct-this was a mistake on my part. Run is approved. Do you have any ideas how to test this particular diff? |
|
@NAThompson Yes, we can design a set of experiments to verify whether 'storing eliminated individuals to increase diversity can prevent premature convergence'. The experimental code can be found here.
As can be seen, after increasing the number of algorithm evaluations, jSO_FIX can consistently escape local optima, which is extremely evident in dimensions 10-80. Therefore, we can draw the following conclusion: |
|
Very detailed analysis; thanks! @mborland : Do you know if the CI failure is "known" or spurious somehow? |
Known. I told @jzmaddock I would fix it, but then I had to take some unplanned time off. I haven't forgotten. |
|
@mborland : Merge it over the failure? |
Yes |
|
@Tomato-in : Thanks! This was a great first commit! |




















Problem Description: In the jSO algorithm, the external archive was storing successful trials, but according to the original paper, it should store eliminated individuals. The external archive is meant to maintain diversity, and storing successful trials fails to achieve this effect.
Solution: Modified the jSO algorithm's external archive update to store eliminated individuals.