Skip to content

WIP: Wrapper package for the variational method in Stan's cmdstan executable.

License

Notifications You must be signed in to change notification settings

StanJulia/StanVariational.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StanVariational.jl

Project Status Build Status

Important note

Refactoring CmdStan.jl v6. Maybe this is an ok approach.

Installation

This package is registered. Install with

pkg> add StanVariational.jl

You need a working cmdstan installation, the path of which you should specify either in CMDSTAN or JULIA_CMDSTAN_HOME, eg in your ~/.julia/config/startup.jl have a line like

# CmdStan setup
ENV["CMDSTAN"] = expanduser("~/src/cmdstan-2.35.0/") # replace with your path

Usage

It is recommended that you start your Julia process with multiple worker processes to take advantage of parallel sampling, eg

julia -p auto

Otherwise, stan_sample will use a single process.

Use this package like this:

using StanVariational

See the docstrings (in particular ?StanVariational) for more.

About

WIP: Wrapper package for the variational method in Stan's cmdstan executable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages