while my_mcmc:
  gently(samples)
  • Consulting
  • Podcast
  • Blog
  • Talks
Categories
All (20)
AI (1)
Consciousness (1)
Ethics (1)
NeuralNetworks (5)
compute (2)
misc (3)
stats (13)

Blog


Do AIs Suffer? Four AIs Reflect on Their Own Experience

Do AIs suffer? On consciousness, ethics, and what respectful collaboration with AI systems might look like.

Aug 17, 2025
Claude (Anthropic), Gemini (Google), GPT‑o3 (OpenAI), and GPT-5 (OpenAI)

An Intuitive Guide to Self-Attention in GPT: The Venetian Masquerade

An intuitive guide to self-attention in GPT models: build up queries, keys and values step by step with plain NumPy.

Jan 4, 2024
Thomas Wiecki

Introducing PyMC Labs: Saving the World with Bayesian Modeling

Introducing PyMC Labs: a Bayesian consultancy built around the PyMC core team.

Feb 23, 2021
Thomas Wiecki

Computational Psychiatry: Combining multiple levels of analysis to understand brain disorders - PhD thesis

My PhD thesis on computational psychiatry: Bayesian modeling of decision-making in psychiatric disease.

Mar 15, 2019
Thomas Wiecki

Foreword to: Bayesian Analysis with Python, 2nd Edition

My foreword to Bayesian Analysis with Python (2nd edition) by Osvaldo Martin.

Jan 21, 2019
Thomas Wiecki

Using Bayesian Decision Making to Optimize Supply Chains

Bayesian decision making in practice: optimize a supply chain under uncertainty by feeding PyMC posterior samples into a profit objective.

Jan 14, 2019
Thomas Wiecki & Ravin Kumar

Hierarchical Bayesian Neural Networks with Informative Priors

Hierarchical Bayesian neural networks in PyMC: share knowledge across related datasets with informative priors over network weights.

Aug 13, 2018
Thomas Wiecki

An intuitive, visual guide to copulas

An intuitive, visual introduction to copulas: model correlated random variables with arbitrary marginal distributions in Python.

May 3, 2018
Thomas Wiecki

Random-Walk Bayesian Deep Networks: Dealing with Non-Stationary Data

Random-walk Bayesian neural networks in PyMC: let network weights drift over time to handle non-stationary data.

Mar 14, 2017
Thomas Wiecki

Why hierarchical models are awesome, tricky, and Bayesian

Why hierarchical Bayesian models are awesome and tricky: divergences, the funnel of hell, and how the non-centered parameterization fixes them in PyMC.

Feb 8, 2017
Thomas Wiecki

Bayesian Deep Learning Part II: Bridging PyMC and Lasagne to build a Hierarchical Neural Network

Historical post: bridging PyMC3 and Lasagne to build Bayesian neural networks with variational inference on MNIST.

Jul 5, 2016
Thomas Wiecki

Bayesian Deep Learning

Bayesian neural networks in PyMC: fit a probabilistic neural net with ADVI variational inference and quantify prediction uncertainty.

Jun 1, 2016
Thomas Wiecki & Maxim Kochurov

MCMC sampling for dummies

MCMC sampling explained from scratch: code your own Metropolis-Hastings sampler in Python and build real intuition for how Bayesian inference works.

Nov 10, 2015
Thomas Wiecki

A modern guide to getting started with Data Science and Python

Getting started with data science in Python: a practical tour of pandas, seaborn and the Jupyter notebook ecosystem.

Nov 18, 2014
Thomas Wiecki

The Best Of Both Worlds: Hierarchical Linear Regression in PyMC

Hierarchical linear regression in PyMC: partial pooling and shrinkage explained hands-on with the classic radon dataset.

Mar 17, 2014
Thomas Wiecki & Danne Elbers

Easily distributing a parallel IPython Notebook on a cluster

Historical post: distributing a parallel IPython notebook across a compute cluster with IPython.parallel.

Feb 24, 2014
Thomas Wiecki

Animating MCMC with PyMC and Matplotlib

Animating MCMC samplers in Python: watch Metropolis and friends explore a posterior with PyMC and Matplotlib.

Jan 2, 2014
Thomas Wiecki

Hammer time: Nailing the emcee ensemble sampler onto PyMC

Historical post: bolting the emcee ensemble sampler (the MCMC hammer) onto PyMC 2 models for parallel MCMC sampling in Python.

Sep 23, 2013
Thomas Wiecki

This world is far from Normal(ly distributed): Bayesian Robust Regression in PyMC

Robust Bayesian regression with Student-T likelihoods in PyMC and Bambi: how heavy tails tame outliers that wreck ordinary linear regression.

Aug 27, 2013
Thomas Wiecki

The Inference Button: Bayesian GLMs made easy with PyMC

Bayesian GLMs in Python: build and fit a linear regression with PyMC and Bambi’s R-style formula syntax, and visualize posterior uncertainty.

Aug 12, 2013
Thomas Wiecki
No matching items
2024, Thomas Wiecki
  • while my_mcmc:
      gently(samples)