chi-feng / mcmc-demo Goto Github PK
View Code? Open in Web Editor NEWInteractive Markov-chain Monte Carlo Javascript demos
Home Page: https://chi-feng.github.io/mcmc-demo/app.html?algorithm=HamiltonianMC&target=banana
License: MIT License
Interactive Markov-chain Monte Carlo Javascript demos
Home Page: https://chi-feng.github.io/mcmc-demo/app.html?algorithm=HamiltonianMC&target=banana
License: MIT License
Hi, @chi-feng, i have a question:
We know equation log(det(A)) = 2*sum(log(vecdiag(R)))
is true, where A be your matrix and R = root(A) be the Cholesky root of the matrix A, but in line 30 of Multivariate.js, we see this.logDet = this.covL.diagonal().map(Math.log).sum();
, no need to multiply a constant 2 here?
Thanks.
It used to be possible to link to
https://chi-feng.github.io/mcmc-demo/app.html#RadFriends-NS,donut
to pull up that specific algorithm and problem.
This was very useful.
At some point this stopped working and now it always shows the default (first algorithm, first problem).
Is it possible to restore this functionality?
Hi, I was trying the RadFriends-NS
algorithm on the multimodal
distribution. I find that after some time, it seems that no new samples are drawn (at least at the two lower peaks), but still the histograms are rapidly changing. Is this a bug or am I missing something here?
The project was started before ES2015 was widely supported, and is in need of some updating to follow modern javascript development best-practices.
If it's easy to add new distributions, it'd be nice to have Neal's funnel, even if only in 2D. The density is given by
a ~ normal(0, 3)
b ~ normal(0, exp(a / 2))
where the normal is taking a scale parameter (std deviation). The funnel is originally described in this paper:
P.S. Thanks for producing this---I direct people to the app all the time.
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.