Skip to content

"scale" parameter value modified? #3

Description

@eldarkurtic

The following code with scale=0.01

x = NormalVariable(loc=0., scale=0.01, name="mu")
model = ProbabilisticModel([x])
sample = model.get_sample(2)
print(sample)

returns this:

   mu_scale  mu_loc        mu
0 -4.600166     0.0 -0.030332
1 -4.600166     0.0 -0.008252

Value of the mu_scale has been changed. Is this expected behavior since I have declared the random variable x with the scale value scale=0.01, but got something like log(0.01) = -4.600166.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions