990c540af3d7e35ca190ff237170c1374b1d8ecd,paysage/models/hidden.py,Model,mcstep,#Model#Any#Any#Any#,220
Before Change
[self.weights[i].W()],
beta)
hid = self.layers[i+1].sample_state()
self.layers[i].update(
[self.layers[i+1].rescale(hid)],
[self.weights[i].W_T()],
After Change
new state
return self._alternating_update("sample_state", state, beta, skip_layers)
def markov_chain(self, n, state, beta=None, skip_layers=[]):
Perform multiple Gibbs sampling steps in alternating layers.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: drckf/paysage
Commit Name: 990c540af3d7e35ca190ff237170c1374b1d8ecd
Time: 2017-04-14
Author: jrwalsh1@gmail.com
File Name: paysage/models/hidden.py
Class Name: Model
Method Name: mcstep
Project Name: drckf/paysage
Commit Name: d098f50ec4976cacea00fc59c8c3dd146a6fc649
Time: 2017-04-20
Author: charleskennethfisher@gmail.com
File Name: paysage/models/model.py
Class Name: Model
Method Name: mcstep
Project Name: drckf/paysage
Commit Name: b09b6c78761245e3662f3d3dcef5b8d1361d0aaf
Time: 2016-11-28
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: paysage/paysage/models.py
Class Name: LatentModel
Method Name: gibbs_step