Git Product home page Git Product logo

Comments (11)

FredericBlum avatar FredericBlum commented on June 6, 2024 1

Thanks! I will have a look at it as soon as I can

from sr2turingpluto.jl.

goedman avatar goedman commented on June 6, 2024

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.

FredericBlum avatar FredericBlum commented on June 6, 2024

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.

goedman avatar goedman commented on June 6, 2024

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.

goedman avatar goedman commented on June 6, 2024

By the way, I don't think Turing has dropped support for MAP and MLE, it might just have moved.

from sr2turingpluto.jl.

FredericBlum avatar FredericBlum commented on June 6, 2024

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.

goedman avatar goedman commented on June 6, 2024

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.

goedman avatar goedman commented on June 6, 2024

@FredericBlum

Ok, found out what is happening. ModeResult is now defined in an extension (TuringOptimExt). Progress!

from sr2turingpluto.jl.

goedman avatar goedman commented on June 6, 2024

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.

goedman avatar goedman commented on June 6, 2024

@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.

goedman avatar goedman commented on June 6, 2024

In v5.2.0 I inserted the using Optim statements.

from sr2turingpluto.jl.

Related Issues (15)

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.