We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77f342 commit a00e1e5Copy full SHA for a00e1e5
bayesml/normal/_normal.py
@@ -105,7 +105,7 @@ def gen_params(self):
105
The generated vaule is set at ``self.mu`` and ``self.tau``.
106
"""
107
self.tau = self.rng.gamma(shape=self.h_alpha,scale=1.0/self.h_beta)
108
- self.mu = self.rng.normal(loc=self.h_mu,scale=1.0/np.sqrt(self.tau * self.h_kappa))
+ self.mu = self.rng.normal(loc=self.h_m,scale=1.0/np.sqrt(self.tau * self.h_kappa))
109
110
def set_params(self,mu,tau):
111
"""Set the parameter of the sthocastic data generative model.
0 commit comments