r/BayesianProgramming • u/_quanttrader_ • Mar 24 '21
Generalized additive models in Python with a Bayesian twist
r/BayesianProgramming • u/_quanttrader_ • Mar 24 '21
r/BayesianProgramming • u/_quanttrader_ • Jan 17 '21
r/BayesianProgramming • u/_quanttrader_ • Jan 16 '21
r/BayesianProgramming • u/_quanttrader_ • Jul 22 '20
r/BayesianProgramming • u/asuagar • Oct 19 '19
r/BayesianProgramming • u/_quanttrader_ • Aug 19 '19
r/BayesianProgramming • u/_quanttrader_ • May 02 '19
r/BayesianProgramming • u/_quanttrader_ • Nov 22 '18
r/BayesianProgramming • u/[deleted] • Jun 22 '18
r/BayesianProgramming • u/[deleted] • Dec 22 '17
r/BayesianProgramming • u/[deleted] • Jul 08 '17
r/BayesianProgramming • u/telemachus93 • May 15 '24
Hello everyone,
I'm working in the field of energy storage management for which I need to forecast several time series. I already have some model structures in mind which I can more or less easily train in a classical/frequentist manner.
But it would be awesome if these models were trained on the fly, for which Bayesian methods seem great. The workflow would be:
forecast with prior predictive distribution
observe outcome
calculate posterior
make posterior into new prior and repeat
The model structures I have in mind don't have an awful lot of parameters, it's all well below 100. Still too many (not to mention continuous support) to apply Bayes' formula directly - I'm doing it with a discretized parameter space for a toy ARMA(1,1) model right now, but I'd need some more parameters in the future and that almost surely won't work.
So, I'll need some approximations. What I found so far:
Analytical solutions using conjugate priors: works for some of the models I have in mind but not for all.
Variational inference: As far as I understood it, variational methods use conjugate priors as well, calculate the posterior which might look different but then project it back to the structure of the prior, e.g. by minimizing the Kullback-Leibler divergence, correct? So I could very easily make the posterior into the new prior (and some software packages might already do that for me, e.g. RxInfer.jl in Julia) but might lose information in the projection step.
Sampling methods, most prominently MCMC methods, seem really great for complex inference problems. But is it possible with popular software packages to use the posterior as a new prior? I looked into PyMC and that use case at least doesn't feature prominently in the docs and I couldn't figure out if or how I would do that. I guess it's not included because the typical use case is offline training of huge models instead of online training of small to medium models, because MCMC is more computationally expensive...
Concerning software packages, I can work reasonably well with MATLAP, Python and Julia. I did some stuff in C and C++ as well and can probably dive into other languages if needed, but the first three are definitely preferred. ;)
r/BayesianProgramming • u/_quanttrader_ • Jan 14 '24
r/BayesianProgramming • u/Fub42069 • Oct 29 '21
I am trying to which of the two ML models I have best fits a morphological character I am looking at. Anyone know the code to use for this?
r/BayesianProgramming • u/_quanttrader_ • Aug 15 '21
r/BayesianProgramming • u/_quanttrader_ • Mar 27 '21
r/BayesianProgramming • u/o-rka • Jan 14 '21
I’m looking for a resource, preferably an actual book, where I can learn Bayesian statistics through examples in tensorflow_probability based on tensorflow 2.x
I found one resource but it’s in 1.x so a lot of the methodologies are over verbose and is distracting trying to adapt the code.
Does anyone know of such a resource?
r/BayesianProgramming • u/f_mccaffrey • Oct 08 '20
https://product.hubspot.com/blog/bayesian-active-learning
How we're using advances in Bayesian deep learning to extract reliable uncertainty estimates from neural networks.
r/BayesianProgramming • u/topperToTheHarley • Sep 16 '20
Dear Bayesian programmers,
I am a long-time-lurking student in the field of computer-science from Germany.
Currently, I am working on my master-thesis and the topic lives in the context of non-recursive probabilistic programming languages and the validation of the models specified by them. In this, I focus on the validation of Bayesian networks.
I would like to ask you some short questions if you can spare the time. There is no need to answer all the questions. This is by no means a study, just a little query for me and my workgroup, to better understand which of the multitude of PPLs and tools are the most popular, and foremost, which techniques of validation are used by most of the people.
Q1 - How do you validate the structure and fit of your model?
Q2 - What do you miss or criticize on your current probabilistic model development workflow?
Q3 - What probabilistic programming language(s), programming language(s), framework(s) or tool(s) do you use for Bayesian programming?
Q4 - Do you use structure-learning to set up your models?
Q5 - What type of models do you use?
Thank you for your time!
r/BayesianProgramming • u/MS-HUB • Jun 18 '20
r/BayesianProgramming • u/_quanttrader_ • Dec 20 '19
r/BayesianProgramming • u/_quanttrader_ • Sep 20 '19
r/BayesianProgramming • u/_quanttrader_ • Sep 13 '19