Skip to content

SigmoidBoundedParameter value does not match given value #8

Description

@GiM6114

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions