d2adaedfb16e8fe02fe393a39c85b3f903987cc7,paysage/models/hidden.py,Model,mean_field_step,#Model#Any#Any#,194

Before Change


        self.layers[i+1].update(self.layers[i].rescale(vis),
                                self.weights[i].W(), beta)
        hid = self.layers[i+1].mean()
        self.layers[i].update(self.layers[i+1].rescale(hid),
                              self.weights[i].W_T(), beta)
        return self.layers[i].mean()

After Change


        hid = self.layers[i+1].mean()

        self.layers[i].update(
        [self.layers[i+1].rescale(hid)],
        [self.weights[i].W_T()],
        beta)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


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