mhtirogla
Home
Systems
API
Pricing
About
Log in
← Back
Home
›
Systems
›
Numerical and mathematical computing
probabilistic-programming
Bayesian inference engine
Stan, PyMC
System
Techniques · 4
Primitives · 13
probabilistic-programmi…
Hamiltonian monte carlo nuts
numerics · medium: HMC with leapfrog integration and the No-U-Turn sampler; step size and mass-matrix adaptation
Markov chain monte carlo
numerics · medium: Metropolis-Hastings and Gibbs sampling: proposals, burn-in, thinning, convergence
Sequential monte carlo
numerics · medium: Particle filters and SMC samplers with resampling for sequential Bayesian inference
Variational inference
numerics · medium: ADVI and mean-field VI: optimize the ELBO with reparameterization gradients
Reverse-mode automatic differentiat…
ml-training · low: Record the forward computation on a tape, then sweep it backwards once to get the gradient of a scalar loss for all inputs.
›
Constrained parameter transforms
numerics · low: Map constrained parameters to unconstrained space (log, logit, simplex, Cholesky) with Jacobian corrections
Mcmc convergence diagnostics
numerics · low: R-hat, effective sample size and divergence checks for MCMC runs
PRNGs (PCG, xoshiro)
numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.
›
Floating-point error
numerics · low: How IEEE 754 rounding error accumulates and how to contain it: compensated (Kahan/Neumaier) and pairwise summation, error-free transformations with FMA, ULP comparisons.
›
L-BFGS
numerics · low: Quasi-Newton minimizer that approximates the inverse Hessian from the last m gradient differences via the two-loop recursion; O(m·n) memory and work per step.
›
LU and Cholesky factorization
numerics · low: Factor A = PLU (any square matrix, partial pivoting) or A = LLᵀ (SPD) once in O(n³), then solve each right-hand side in O(n²).
›
Verlet / leapfrog
numerics · low: Half-kick, drift, half-kick: a second-order, time-reversible, symplectic integrator with one force evaluation per step whose energy error stays bounded for millions of steps.
›
Alias method sampling
numerics · low: Vose alias tables: O(1) sampling from a discrete distribution after O(n) setup
Importance sampling
numerics · low: Sample from a proposal distribution and reweight to cut Monte Carlo variance
AdamW
ml-training · low: Adam's per-parameter adaptive steps with weight decay applied directly to the weights; the default optimizer for transformers and LLM pretraining.
›
Monte Carlo integration
numerics · low: Estimate an expectation by averaging random samples; error falls as σ/√N in any dimension, and variance reduction (antithetic, control variates, importance sampling) shrinks σ.
›
Rejection sampling
ml-training · low: Best-of-n and filtered sampling: generate many candidates, keep those passing a verifier or reward threshold
Copy for AI
Similar systems
Share the most building blocks with this one.
nonlinear-optimizer
22 %
derivatives-pricing
19 %
uncertainty-quantification
18 %
nonlinear-solver
17 %
statistics-environment
17 %