Skip to content

Commit

Permalink
Use mean squared error as default loss.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Johnson committed Sep 3, 2015
1 parent 7d83e40 commit 4273f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theanets/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def add_loss(self, loss=None, **kwargs):
self.losses.append(loss)
return

form = loss
form = loss or 'mse'
if 'form' in kwargs:
form = kwargs.pop('form').lower()

Expand Down

0 comments on commit 4273f8f

Please sign in to comment.