Skip to content

Commit

Permalink
ughhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
luster committed Apr 6, 2016
1 parent cca3bab commit 93f3b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thesis/build_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def make_C_matrix(self):
self.C_mat = theano.shared(np.asarray(C, dtype=dtype), borrow=True)
self.mean_C = theano.shared(C.mean(), borrow=True)

def loss_func(self, lambduh=1.5):
def loss_func(self, lambduh=3.0):
prediction = self.get_output()
loss = lasagne.objectives.squared_error(prediction, self.input_var)
regularization_term = self.soft_output_var * ((self.C_mat * lasagne.layers.get_output(self.latents)).mean())**2
Expand Down

0 comments on commit 93f3b72

Please sign in to comment.