Sampling from normal distribution #341
-
Hi team, Imagine the following setup. My model has a float parameter, and I have a prior that it forms a normal distribution with loc=0 and scale=1. Thus, I would like to sample it in my experiments. What are my options to sample it? Shall I specify it at the level of the RealParameter class? I see there the following:
However, I don't see an option to pass an arbitrary distribution yet. Also, the names In addition, how should this ( Did I overlook something, or is there an example of doing this? (Attaching an example code just in case)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
You can use
RealParameter.from_dist
. See Eigenraam example