public release 3.0.0 - see README and CHANGES for details
This commit is contained in:
@ -304,7 +304,7 @@ class GridSearchHandler(handlers.ModelHandler):
|
||||
super(GridSearchHandler, self).setup(project, slots)
|
||||
|
||||
self._pop = GridPopulation()
|
||||
self._pop.setup(self._project.create_model_space())
|
||||
self._pop.setup(self._project.model_space)
|
||||
self._invalid_limit = max(slots, self._invalid_limit)
|
||||
|
||||
self._outfile = open(self._project.output_file + ".dat", "w")
|
||||
|
@ -554,7 +554,7 @@ class Population(object):
|
||||
however, the patch is applied only upon the next execution of advance_population().
|
||||
|
||||
an info or warning message is printed to the log
|
||||
depending on whether the filed contained a complete dataset or not.
|
||||
depending on whether the file contained a complete dataset or not.
|
||||
|
||||
@attention patching a live population is a potentially dangerous operation.
|
||||
it may cause an optimization to abort because of an error in the file.
|
||||
@ -1209,7 +1209,7 @@ class PopulationHandler(handlers.ModelHandler):
|
||||
return self._pop_size
|
||||
|
||||
def setup_population(self):
|
||||
self._pop.setup(self._pop_size, self._project.create_model_space(), **self._project.optimizer_params)
|
||||
self._pop.setup(self._pop_size, self._project.model_space, **self._project.optimizer_params)
|
||||
|
||||
def cleanup(self):
|
||||
super(PopulationHandler, self).cleanup()
|
||||
|
Reference in New Issue
Block a user