Optimized Nested Sampling: fast inference for non-linear additive models
Project description
Faster inference by parameter space reduction of linear parameters.
Context
For models that are composed of additive components:
y = A_1 * y_1(x|theta) + A_2 * y_2(x|theta) + ...
And data that are one of:
y_obs ~ Normal(y, sigma) y_obs ~ Poisson(y) y_obs ~ GP(y)
y may be one or multi-dimensional. sigma may be different for each y (heteroscadastic). GP may be a Gaussian process from celerite or george.
Here we see that each component y_i changes y linearly with its normalisation parameter A_i.
We therefore have two groups of parameters:
linear parameters: A_i
non-linear parameters: theta
We can define the predictive part of our model as:
y_1, y_2, ... = compute_components(x, theta)
What optns does
Profile likelihood inference with nested sampling. That means the normalisations are optimized away.
Post-processing: The full posterior (A_i and theta) is sampled by conditionally sampling A_i given theta.
Usage
See the demo scripts in the examples folder!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file optns-2.1.1.tar.gz.
File metadata
- Download URL: optns-2.1.1.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf24aabbf45e4c5f091a29e2c6f0202155b1f52b49387e34ac872b0eb8054c50
|
|
| MD5 |
fbcad7eaebd98ef101f086c832c5abe3
|
|
| BLAKE2b-256 |
bf09bf46861f97c0fc00ffa52ebbb5e8a4090cd65fc510159c1dede522b54cf8
|