a8b7bb2a628997761d8b072ed955af12f382f7e8,paysage/optimizers.py,StochasticGradientDescent,update,#StochasticGradientDescent#Any#Any#Any#Any#,174
Before Change
for l in self.delta["layers"]:
be.multiply_dict_inplace(l, lr)
for l in self.delta["weights"] :
be.multiply_dict_inplace(l, lr)
model.parameter_update(self.delta)
After Change
self.delta = hidden.grad_apply()
model.parameter_update(self.delta)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: drckf/paysage
Commit Name: a8b7bb2a628997761d8b072ed955af12f382f7e8
Time: 2017-04-05
Author: charleskennethfisher@gmail.com
File Name: paysage/optimizers.py
Class Name: StochasticGradientDescent
Method Name: update
Project Name: drckf/paysage
Commit Name: 441457bb25c582108b28c3b46baaecbd7bcac3e9
Time: 2017-04-05
Author: charleskennethfisher@gmail.com
File Name: paysage/optimizers.py
Class Name: GradientMemory
Method Name: update_mean
Project Name: drckf/paysage
Commit Name: 64c9109d1423ee7288926a1d8743fe6cbd7a0022
Time: 2017-04-05
Author: charleskennethfisher@gmail.com
File Name: paysage/optimizers.py
Class Name: Momentum
Method Name: update