Hi !
When instantiating a SigmoidBoundedParameter object with value v and some bounds, the value attribute of the object initializes not at v but at random values, negative from my experience (which can cause issues later for optimization if the model is not robust to negative values for the parameter for instance). Comparing its implementation to BoundedParameter, maybe it just lacks super().init(value)?
Please find attached a notebook that shows this for RWW parameters and compares it to BoundedParameter which has the correct behavior.
test_RWW_sigmoidboundedparameter.ipynb
Hi !
When instantiating a SigmoidBoundedParameter object with value v and some bounds, the value attribute of the object initializes not at v but at random values, negative from my experience (which can cause issues later for optimization if the model is not robust to negative values for the parameter for instance). Comparing its implementation to BoundedParameter, maybe it just lacks super().init(value)?
Please find attached a notebook that shows this for RWW parameters and compares it to BoundedParameter which has the correct behavior.
test_RWW_sigmoidboundedparameter.ipynb