lava-optimization icon indicating copy to clipboard operation
lava-optimization copied to clipboard

Set default parameters in processes, not in ProcModels

Open phstratmann opened this issue 2 years ago • 0 comments

Objective of issue: I found at least one case where default values of Vars are defined in a ProcModel rather than the Process. This should be changed. My example is in generic/models.DiscreteVariablesModel: noise_amplitude = proc.proc_params.get("noise_amplitude", 1) steps_to_fire = proc.proc_params.get("steps_to_fire", 10) importances = proc.proc_params.get("importances", 10)

Rather, set them in the Process and ensure that these hyperparameters will always be defined.

Lava version:

  • [x] 0.3.0 (feature release)

I'm submitting a ...

  • [x] bug report

phstratmann avatar Sep 27 '22 20:09 phstratmann