Comments (4)
If it is strictly equivalent, then why not go for a type alias HMC = LMC ? There would be a single implementation needed.
I admit that the HMC sampling was the only one familiar to me. I am uneasy about calling it LMC as it is an adaptation from a paper that was calling it Hamiltonian Monte-Carlo.
from klara.jl.
Lagrangian Monte Carlo is not a novel term :) For example, look at this paper where it is used. The implementations differ between LMC and HMC, and in fact there can be differences in performance depending on the problem on which the samplers are run. Have a look at this useful link too.
I do not insist that we rename it to LMC, yet at the same time it is sth established in literature and it will have to be used for RMLMC (Riemmanian manifold Lagrangian Monte Carlo). Perhaps we can find another way of dealing with it, avoiding to rename the existing HMC type. Send me the link to the article you read when you have the time (I usually reference Neal's HMC paper) ;)
from klara.jl.
The HMC algorithm I implemented is from the same paper introducing the NUTS algo : http://arxiv.org/abs/1111.4246. They do call it Hamiltonian Monte-Carlo. Is that a case of people using different names for the same thing ? I am a bit confused !
Thanks for your links, I'll check these out.
from klara.jl.
Hi @fredo-dedup, I looked at the paper you sent me. Yes, algorithm 1 in page 3 is HMC, not LMC. This means that the HMC sampler does not need any renaming. I also looked at your code and you implemented HMC indeed. My initial confusion came from the fact that you called the auxiliary variable velocity
in the HMCSample
type - this is the only change we need to make, simply to rename this field to momentum
. I am going to close this issue now.
from klara.jl.
Related Issues (20)
- Decide whether to add univariate AM or drop AM sampler HOT 1
- Possible DSL sitting atop of existing functionality
- Drop Basic prefix in various type names
- Add some simple examples from OpenBUGS, volume 1
- MethodError: Cannot `convert` an object of type Array{Float64,1} to an object of type Float64 HOT 3
- Add option to bound parameters HOT 3
- Deprecation warnings for v0.6 HOT 2
- World age issue due to code generation inside an inner constructor HOT 2
- Issue related to where keyword and parametric types HOT 7
- How to replace consume and produce with Channels HOT 1
- Implement AMWG sampler
- MCMC in GaussianProcesses.jl HOT 24
- Eliminate code generation to avoid world age issues in Julia v0.6
- HMC with reverse-mode autodiff HOT 1
- ForwardDiff 0.4 0.6 HOT 4
- Is there any guidance for custom sample space HOT 2
- Monitoring Metropolis-Hastings Internal Quantities
- Support Julia 1.0 HOT 5
- Gibbs sampling from a posterior distribution kernel
- Package compatibility caps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klara.jl.