5cf44ce3e9532c0bb7094567bfab89422e33e998,examples/example_mnist_grbm.py,,,#,21
Before Change
edist = B.fast_energy_distance(v_data, v_model, downsample=100)
print("Reconstruction error: {0:.2f}".format(recon))
print("Energy distance: {0:.2f}".format(edist))
// close the HDF5 store
data.close()
After Change
plot_image(v_model[0], (28,28))
// plot some fantasy particles
random_samples = rbm.random(v_data)
sampler = fit.SequentialMC(rbm, random_samples)
sampler.update_state(1000, resample=False, temperature=1.0)
v_model = sampler.state
idx = numpy.random.choice(range(len(v_model)), 5, replace=False)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: drckf/paysage
Commit Name: 5cf44ce3e9532c0bb7094567bfab89422e33e998
Time: 2017-01-19
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: examples/example_mnist_grbm.py
Class Name:
Method Name:
Project Name: tensorlayer/tensorlayer
Commit Name: d3bdc5449964423387861c78edd9d890a81a5466
Time: 2019-03-31
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/layers/test_layers_recurrent.py
Class Name: Layer_RNN_Test
Method Name: setUpClass
Project Name: drckf/paysage
Commit Name: 59cc100aa0b50e9f902efb7b2199ef92296b56ed
Time: 2016-12-10
Author: charlesfisher@Charless-MacBook-Pro.local
File Name: example_mnist.py
Class Name:
Method Name:
Project Name: CSchoel/nolds
Commit Name: 2f4464bbbfd34ab70b835b7a0f2adea7ed3e5f68
Time: 2016-10-11
Author: christopher.schoelzel@mni.thm.de
File Name: nolds/test_measures.py
Class Name: TestNoldsCorrDim
Method Name: test_corr_dim