e3666af64d58a1b642e91834931161c32c135604,thinc/neural/train.py,Trainer,iterate,#Trainer#Any#Any#Any#Any#,41
Before Change
yield X, y
self.dropout = linear_decay(orig_dropout, self.dropout_decay,
self.optimizer.nr_iter)
accs = (score_model(model, dev_X, dev_Y), self._loss)
print("Dev.: %.3f, %.3f loss" % accs, self._loss)
self._loss = 0.
After Change
yield X, y
self.dropout = linear_decay(orig_dropout, self.dropout_decay,
self.optimizer.nr_iter)
acc = score_model(model, dev_X, dev_Y)
stats = (acc, self._loss, self.dropout)
print("Dev.: %.3f, loss %.3f. Drop %.2f" % stats)
self._loss = 0.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: explosion/thinc
Commit Name: e3666af64d58a1b642e91834931161c32c135604
Time: 2017-01-05
Author: honnibal+gh@gmail.com
File Name: thinc/neural/train.py
Class Name: Trainer
Method Name: iterate
Project Name: explosion/thinc
Commit Name: 97bf5b660cd3f54df00b40282baf6a58fcefed2c
Time: 2016-12-28
Author: honnibal+gh@gmail.com
File Name: thinc/train.py
Class Name: Trainer
Method Name: iterate
Project Name: explosion/thinc
Commit Name: 0794a11c98a502c361a162c9a13ca206a85afd17
Time: 2017-01-05
Author: honnibal+gh@gmail.com
File Name: examples/mnist.py
Class Name:
Method Name: main