You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimization needs 2 things: the parameters space and the loss function.
Current state
Now, the update_step requires the DataGeneration. It would be cleaner if this data generator is stored as a self.data_generator argument during creation of the Optimizer
Requested change
These two arguments should be required during creation of the object.
Also then the _construct_model method can collapse into the __init__ or __post_init__ if we are using dataclasses again
API for Optimization
There are three ways:
Using built-in defaults by importing a function
from f3dasm_optimize import cmaes
experiment_data.optimize(optimizer=cmaes(population=30, seed=123), data_generator = ..., ...)
Optimization needs 2 things: the parameters space and the loss function.
Current state
Now, the
update_step
requires theDataGeneration
. It would be cleaner if this data generator is stored as aself.data_generator
argument during creation of theOptimizer
Requested change
These two arguments should be required during creation of the object.
Also then the
_construct_model
method can collapse into the__init__
or__post_init__
if we are using dataclasses againAPI for Optimization
There are three ways:
The text was updated successfully, but these errors were encountered: