File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
bayesflow/adapters/transforms Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Standardize(ElementwiseTransform):
3333 )
3434
3535
36- 2) Standardize all with same known mean and std.
36+ 2) Standardize all with same known mean and std.
3737
3838 adapter = (
3939 bf.adapters.Adapter()
@@ -42,17 +42,17 @@ class Standardize(ElementwiseTransform):
4242
4343
4444 3) Mix of fixed and estimated means/stds. Suppose we have priors for "beta" and "sigma" where we
45- know the means and stds. However for all other variables, the means and stds are unknown.
45+ know the means and stds. However for all other variables, the means and stds are unknown.
4646 Then standardize should be used in several stages specifying which variables to include or exclude.
4747
4848 adapter = (
4949 bf.adapters.Adapter()
5050 # mean fixed, std estimated
51- .standardize(include = "beta", mean = 1)
51+ .standardize(include = "beta", mean = 1)
5252 # both mean and SD fixed
53- .standardize(include = "sigma", mean = 0.6, sd = 3)
53+ .standardize(include = "sigma", mean = 0.6, sd = 3)
5454 # both means and stds estimated for all other variables
55- .standardize(exclude = ["beta", "sigma"])
55+ .standardize(exclude = ["beta", "sigma"])
5656 )
5757
5858 """
You can’t perform that action at this time.
0 commit comments