mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
[testing] more restructuring, almost ready to ship, added some tests for testing with travis
This commit is contained in:
parent
831e032ade
commit
fa8f73326e
65 changed files with 628 additions and 1046 deletions
|
|
@ -172,7 +172,7 @@ class LogGaussian(Gaussian):
|
|||
return -((np.log(x) - self.mu) / self.sigma2 + 1.) / x
|
||||
|
||||
def rvs(self, n):
|
||||
return np.exp(np.random.randn(n) * self.sigma + self.mu)
|
||||
return np.exp(np.random.randn(int(n)) * self.sigma + self.mu)
|
||||
|
||||
|
||||
class MultivariateGaussian(Prior):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue