ermongroup / a-nice-mc Goto Github PK
View Code? Open in Web Editor NEWCode for "A-NICE-MC: Adversarial Training for MCMC"
License: MIT License
Code for "A-NICE-MC: Adversarial Training for MCMC"
License: MIT License
Hi apologies @daniellevy, @tachim, @kuleshov, @llonchj ,
I am getting errors on running some of the examples.
(myenv) [andrewcz@andrewcz-pc examples]$ python nice_synthetic.py
Traceback (most recent call last):
File "nice_synthetic.py", line 13, in
from a_nice_mc.objectives.bayes_logistic_regression.synthetic import Synthetic
ModuleNotFoundError: No module named 'a_nice_mc.objectives'
Im not sure what im doing wrong.
Many thanks,
Best,
Andrew
Hi,
I want to try to use a-nice-mc to sample from the posterior weights of a neural net but in my initial experiments for a relatively small net I find that I'm not able to learn to draw reasonable samples even after 60000 training iterations.
I'm training a one-layer feedforward net with a hidden width of 50 units to perform regression on the Boston housing data-set.
I think the issue is that bootstrapping from the randomly initialised model is inadequate for such a high dimensional space. I'm going to try to bootstrap instead from samples drawn using HMC.
Do you have any advice or thoughts on this before I embark? Would you like to include the bootstrap in the repo?
thanks,
Raza
First of all, very nice work! @jiamings I'm not sure where to ask this question so I'm posting it here. My main concern is that feed forward neural networks are bad at extrapolation. Could fitting the proposal distribution to certain samples, e.g. the bootstrapped samples described in the paper, hampers ergodicity?
https://github.com/ermongroup/a-nice-mc/blob/master/a_nice_mc/utils/hmc.py#L108
For different step, it seems that you use the same stepsize. I guess stepsize
should be replaced with s
.
@jiamings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.