5cf44ce3e9532c0bb7094567bfab89422e33e998,examples/example_mnist_grbm.py,,,#,21

Before Change


    sampler.update_state(1000, resample=False, temperature=1.0)
    v_model = sampler.state

    plot_image(v_data[0], (28,28))
    plot_image(v_model[0], (28,28))

    edist = B.fast_energy_distance(v_data, v_model, downsample=100)

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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: tyarkoni/pliers
Commit Name: c3a4e8404bd45fc09d9bccfad81e570285d0bb19
Time: 2018-02-06
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/text.py
Class Name: WordEmbeddingExtractor
Method Name: _extract


Project Name: scipy/scipy
Commit Name: e25c88e4b1a1460dc55f204e471271090de31ccf
Time: 2018-09-26
Author: andyfaff@gmail.com
File Name: scipy/optimize/_differentialevolution.py
Class Name: DifferentialEvolutionSolver
Method Name: _ensure_constraint