DrewSimtech / optimizer

for plotting convergance
0 stars 0 forks source link

Boundaries for the Gaussian reset distribution #11

Closed DrewSimtech closed 6 years ago

DrewSimtech commented 6 years ago

As a developer I would like to be able to have boundaries set for the Gaussian resets. The current implementation uses 10% of the starting value as 3 sigma. This incorrectly scales the search area based on the size of the starting values. The search area should be decoupled from the initial inputs. The simplest way to do this would be to take a min/max search boundary for each mutable.

DrewSimtech commented 6 years ago

Created a new data structure in the containers sub-package called "GaussianVar" which derives from the "MutableVar" structure. This functions the same with the exception that it also stores a mean and 1 sigma. This has been integrated into the RandomWalker class and has been tested with the Ackley function. 316e8b42c4f3d811edc8e2fd59275a0893a53804