0c16dfe8a4b5b6dfd4ef9d9d80de80f0ad27fed5,paysage/models/hidden.py,GaussianRestrictedBoltzmannMachine,__init__,#GaussianRestrictedBoltzmannMachine#Any#Any#Any#,307
Before Change
self.layers["visible"] = layers.get("gaussian")
self.layers["hidden"] = layers.get(hid_type)
self.params["weights"] = numpy.random.normal(loc=0.0, scale=0.01,
size=(nvis, nhid)).astype(dtype=numpy.float32)
self.params["visible_bias"] = numpy.zeros(nvis, dtype=numpy.float32)
self.params["visible_scale"] = numpy.zeros(nvis, dtype=numpy.float32)
self.params["hidden_bias"] = numpy.zeros(nhid, dtype=numpy.float32)
def initialize(self, data, method="hinton"):
try:
After Change
self.layers["visible"] = layers.get("gaussian")
self.layers["hidden"] = layers.get(hid_type)
self.params["weights"] = 0.01 * be.randn((nvis, nhid))
self.params["visible_bias"] = be.zeros(nvis)
self.params["visible_scale"] = be.zeros(nvis)
self.params["hidden_bias"] = be.zeros(nhid)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 15
Instances
Project Name: drckf/paysage
Commit Name: 0c16dfe8a4b5b6dfd4ef9d9d80de80f0ad27fed5
Time: 2017-02-17
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: paysage/models/hidden.py
Class Name: GaussianRestrictedBoltzmannMachine
Method Name: __init__
Project Name: drckf/paysage
Commit Name: 8a19a6a7e9aa1c5711ad9632230bbddda5f24f40
Time: 2017-02-14
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: paysage/models/initialize/init_hidden.py
Class Name:
Method Name: hinton
Project Name: drckf/paysage
Commit Name: 0c16dfe8a4b5b6dfd4ef9d9d80de80f0ad27fed5
Time: 2017-02-17
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: paysage/models/hidden.py
Class Name: GaussianRestrictedBoltzmannMachine
Method Name: __init__
Project Name: drckf/paysage
Commit Name: be67786422dccfd0321f706325fe823cacedbd19
Time: 2017-02-17
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: paysage/models/hidden.py
Class Name: HopfieldModel
Method Name: __init__