Commit e6b24cf8 authored by Jakob Knollmüller's avatar Jakob Knollmüller
Browse files

more fixes

parent 5d90b738
Pipeline #94607 failed with stages
in 5 minutes and 23 seconds
......@@ -66,7 +66,7 @@ class FullCovarianceModel():
def get_initial_pos(self, initial_mean = None):
initial_pos = from_random(self.generator.domain).to_dict()
initial_pos['latent'] = full(self.latent_domain.domain['latent'], 0.)
initial_pos['latent'] = full(self.latent_domain['latent'], 0.)
diag_tri = np.diag(np.ones(self.latent_domain.shape[0]))[np.tril_indices(self.latent_domain.shape[0])]
initial_pos['cov'] = makeField(self.generator.domain['cov'], diag_tri)
if initial_mean is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment