GithubHelp home page GithubHelp logo

Questions about turing.jl HOT 4 CLOSED

turinglang avatar turinglang commented on May 20, 2024
Questions

from turing.jl.

Comments (4)

xukai92 avatar xukai92 commented on May 20, 2024

Hi,

Thanks for you questions.

  1. Not now - but it will be available just in the next release.
  2. Yes - you can plug arbitrary pure Julia function, i.e. function does not simply call some external Python/C++ libraries
  3. Not now - we currently focus on sampling methods
    @yebai do you have plan for VI?
  4. Not for the current version - the current implementation of gradient based method is not comparable to Stan, we are still developing it; the implementation of importance sampling based method (i.e., IS, SMC and PG) shows state-of-the-art performance.
    @yebai is the benchmarking vs Prob C and Anglican available online now?
  5. You can simply use random variable in control flow conditions. Here is a simple example
@model scf begin
  @assume m ~ Normal(0, 10)
  if m < 0
    @assume s ~ Gamma(2, 3)
  else
    @assume s ~ Gamma(4, 6)
  end
  @observe 1.1 ~ Normal(m, s)
  @observe 2.3 ~ Normal(m, s)
  @predict s m
end

from turing.jl.

datnamer avatar datnamer commented on May 20, 2024

Very cool, thanks. Maximum a posteriori would be of interest to simulate max likelihood methods.

from turing.jl.

yebai avatar yebai commented on May 20, 2024

Maximum a posteriori would be of interest to simulate max likelihood methods.

It is a good suggestion. I've created a feature request #72 for this, check it back later.

Are there plans for variational inference?

So far we've been focusing on sampling methods for inference. The work on VI has been discussed but we haven't got a concrete plan yet. It would be interesting to see some more detailed suggestions here.

from turing.jl.

yebai avatar yebai commented on May 20, 2024

I'm going to close this issue now. Maybe we can a Q&A thread in the future.

from turing.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.