15a58be0f54f22ea43b8db25d11dd0c402acf47f,paysage/metrics.py,EnergyZscore,update,#EnergyZscore#,323
Before Change
None
self.data_mean += be.mean(update_args.model
.joint_energy(update_args.minibatch))
self.random_mean += be.mean(update_args.model
.joint_energy(update_args.random_samples))
self.random_mean_square += be.mean(update_args.model
.joint_energy(update_args.random_samples)**2)
After Change
None
energy_data = update_args.model.joint_energy(update_args.minibatch)
energy_random = update_args.model.joint_energy(update_args.random_samples)
self.calc_data.update(energy_data)
self.calc_random.update(energy_random)
// self.data_mean += be.mean(update_args.model
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: drckf/paysage
Commit Name: 15a58be0f54f22ea43b8db25d11dd0c402acf47f
Time: 2017-05-19
Author: jrwalsh1@gmail.com
File Name: paysage/metrics.py
Class Name: EnergyZscore
Method Name: update
Project Name: drckf/paysage
Commit Name: aaa6b9c9c0a803153ae26a3b28fe2c7fbf3e75fe
Time: 2017-05-19
Author: jrwalsh1@gmail.com
File Name: paysage/metrics.py
Class Name: EnergyGap
Method Name: update
Project Name: drckf/paysage
Commit Name: 4fa0840f0f47bfee172243df6cc8da2eb4be5834
Time: 2017-05-18
Author: jrwalsh1@gmail.com
File Name: paysage/metrics.py
Class Name: HeatCapacity
Method Name: update