Skip to content
This repository has been archived by the owner on Jul 10, 2021. It is now read-only.

Commit

Permalink
Fix bug propagating the batch_size correctly. Improves performance on…
Browse files Browse the repository at this point in the history
… MNIST.
  • Loading branch information
alexjc committed Apr 10, 2015
1 parent 2d31592 commit 02c8001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sknn/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _create_trainer(self, dataset):

return sgd.SGD(
cost=self.cost,
batch_size=1,
batch_size=self.batch_size,
learning_rule=self.learning_rule,
learning_rate=self.learning_rate,
termination_criterion=termination_criterion,
Expand Down

0 comments on commit 02c8001

Please sign in to comment.