Comments (11)
Thanks! I will have a look at it as soon as I can
from sr2turingpluto.jl.
I have no idea what happened to this option. It might have been moved to related packages? Your best bet would be to check with the Turing folks. I tried to update to Turing v0.30 but couldn't (many package incompatibilities).
This is very unfortunate. But not really surprising as I haven't used Turing.jl for quite while and no longer have the knowledge nor the bandwidth to maintain the Turing projects in StatisticalRethinkingJulia and RegressionAndOtherStoriesJulia.
I will need to make a decision what to do with the unsupported Turing projects in both StatisticalRethinkingJulia and RegressionAndOtherStoriesJulia. Most likely I will have to archive the projects in early 2024.
from sr2turingpluto.jl.
Ok thanks. So your recommendation would be to go for the SR2Stan instead of Turing? Is this more of a capacity-orientated decision or are there performance/implementability advantages for Stan over Turing?
from sr2turingpluto.jl.
Not really, this is only based on the fact that I don't have the bandwidth to support the Turing projects. Both Stan and Turing have solid teams behind the implementations. I'd hoped over the last couple of years someone else would step up to work on the Turing projects, but realize that is a major time commitment (having done it now for quite some years :-).
from sr2turingpluto.jl.
By the way, I don't think Turing has dropped support for MAP and MLE, it might just have moved.
from sr2turingpluto.jl.
Sadly I do not much about package development (yet) in Julia, otherwise I'd try to fix this myself. Can you point me to where in the StatisticalRethinking this likely goes wrong, and then I can check if I can fix this?
from sr2turingpluto.jl.
In ./src/turing/turing_optim_sample.jl
I import import .Turing: ModeResult
. I think that object is no longer defined in Turing. I've been looking a bit in the docs if estimating MAP and/or MLE values is still supported, but couldn't find it anymore.
Will take another look.
from sr2turingpluto.jl.
Ok, found out what is happening. ModeResult is now defined in an extension (TuringOptimExt). Progress!
from sr2turingpluto.jl.
Just pushed a new version of StatisticalRethinking (v4.8.0). Did an initial test with the TuringGuide.jl and found the MAP stuff working now. The cells with MCMCThread() fail. But by removing the MCMCThread() part and the last part all cells work.
Let me try some other notebooks in SR2TuringPluto.jl.
from sr2turingpluto.jl.
@FredericBlum Also pushed SR2TuringPluto.jl v5.8.0 ti Github. By inserting using Optim
early on in the begin..end
block with all using ...
statements I think all notebooks will work again.
Update: Most notebooks do work but often the begin..end
block with the using statements needs to be run a second time. Need to check how the TuringOptimExt is defined.
from sr2turingpluto.jl.
In v5.2.0 I inserted the using Optim statements.
from sr2turingpluto.jl.
Related Issues (15)
- Question about zero-inflated models in section 12 HOT 9
- Installation Error - Hardcoded Path in Manifest HOT 4
- Instantiate Error HOT 3
- instantiate command results in type error, preventing dependency installation HOT 10
- `show` of MCMC.Chain summary statistics in clip-03-02-05t fails HOT 3
- @formula not defined in Clip-00-04-05t.jl HOT 7
- Strange convergency of model m7.1 HOT 15
- Is this a right place to put turing-dependent utility functions? HOT 8
- Models with multivariate normal priors? HOT 9
- question about quap function HOT 3
- For univariate distributions, calling pdf on an array of values is deprecated HOT 2
- `logpdf` to broadcasted `.logpdf` HOT 2
- use of quap() HOT 3
- A potential erratum from Chapter 2? HOT 3
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 sr2turingpluto.jl.