fd42a6e678889a483ad1d7039a9be77b07cbb32b,paysage/models/hidden.py,Model,gradient,#Model#Any#Any#,298

Before Change


                                  self.layers[i+1].derivatives(
                                                   hid,
                                                   vmodel_scaled,
                                                   self.weights[0].W_T()))

        be.subtract_dicts_inplace(grad["weights"][i],
                                  self.weights[i].derivatives(

After Change


                                  self.layers[i+1].derivatives(
                                                   hid,
                                                   [vmodel_scaled],
                                                   [self.weights[0].W_T()]
                                                   ))

        be.subtract_dicts_inplace(grad["weights"][i],
                                  self.weights[i].derivatives(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: drckf/paysage
Commit Name: fd42a6e678889a483ad1d7039a9be77b07cbb32b
Time: 2017-03-29
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name: Model
Method Name: gradient


Project Name: drckf/paysage
Commit Name: d2adaedfb16e8fe02fe393a39c85b3f903987cc7
Time: 2017-03-29
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name: Model
Method Name: mcstep


Project Name: drckf/paysage
Commit Name: d2adaedfb16e8fe02fe393a39c85b3f903987cc7
Time: 2017-03-29
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name: Model
Method Name: mean_field_step


Project Name: drckf/paysage
Commit Name: d2adaedfb16e8fe02fe393a39c85b3f903987cc7
Time: 2017-03-29
Author: charleskennethfisher@gmail.com
File Name: paysage/models/hidden.py
Class Name: Model
Method Name: deterministic_step