walnutpie - the Within-orbit Adaptive Leapfrog No-U-Turn Sampler
Documentation
Documentation for walnutpie can be found on Github Pages.
Basic usage
import walnutpie as wp
def logp(x):
# your code here
lp = ...
gradient = ...
return lp, gradient
draws = wp.walnuts_pyfunc(logp, num_params=10)
print(wp.ess(draws))
Prior work
The design of this library is heavily influenced by both TinyStan and Nutpie.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file walnutpie-0.0.1.tar.gz.
File metadata
- Download URL: walnutpie-0.0.1.tar.gz
- Upload date:
- Size: 67.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73cffb4c9e97168b0762e3e88ba1e34109848eb76905b30e08cbbe29b9456423
|
|
| MD5 |
6692ed0b88c7d631288eaa04e9318004
|
|
| BLAKE2b-256 |
b355a509b0e613f35afcbe3ec61eb6e067539b5c2c0af0e6f20d7d9961f06160
|
File details
Details for the file walnutpie-0.0.1-py3-none-win_amd64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-win_amd64.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6599fa6b72771ee2704c1c1669d6a3126f318bcee41a08d9e1857eecbc36440b
|
|
| MD5 |
c5f21457451a91ca7cf4bd9905d77ca7
|
|
| BLAKE2b-256 |
0ed3df59cdb0db78f0f5e6fbd3ea9ca3e773f406158b2c9a298cbae570b63a01
|
File details
Details for the file walnutpie-0.0.1-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93e968e660677ed62ea182c5531b9213199d78a6126d723376cee85c366469f7
|
|
| MD5 |
ba3eb366ea6bbc9d828ed1df0b2d2f75
|
|
| BLAKE2b-256 |
0de7bf477d7f9c41f0ed6ee72ebaa4f9d834b2b7fd0dca7d016a3285a82e4950
|
File details
Details for the file walnutpie-0.0.1-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36e54e0bb73b18d4684dc1d7ddf89aa8663a13df73d39df22dfd77481e5ad838
|
|
| MD5 |
a5ff55aa73b8ba80411c28f6f8640d7c
|
|
| BLAKE2b-256 |
c7622d9be6f62a37e2a5ebc7028cec3fccc45bdf71581eaed1541f063ad2d935
|
File details
Details for the file walnutpie-0.0.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffa1cbdc596c9f6097d829d32d6c34e0465ba654419abab10d80a95dea2eb4b6
|
|
| MD5 |
675d316906e4f4528a4413cccbb996c5
|
|
| BLAKE2b-256 |
a404e49d2f9341de3eb96f7f1bef8e949dc96b24ce91f43c01705cfcbcb3145a
|
File details
Details for the file walnutpie-0.0.1-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e556679a97a95afcbbca0e3141800763bf18a9c65b68015699351d0ce09d50b
|
|
| MD5 |
1295a26f100736cbe692a638e5991478
|
|
| BLAKE2b-256 |
a649a3791e8a5aca81b439d92eac8c5ecc8d2934024d94d31f50b3c063359687
|
File details
Details for the file walnutpie-0.0.1-py3-none-macosx_15_0_x86_64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-macosx_15_0_x86_64.whl
- Upload date:
- Size: 125.9 kB
- Tags: Python 3, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bde2a37e759f96b8430c452514ffd404082b40cd65976e3768998dd855a42c75
|
|
| MD5 |
8b7702ea6bcd5310fad7d2772edf02e0
|
|
| BLAKE2b-256 |
06c49a29f39991d6cbe81bfa62094d0797b61d7f77ff3385945d7673835c923f
|
File details
Details for the file walnutpie-0.0.1-py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: walnutpie-0.0.1-py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 115.7 kB
- Tags: Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa3b9b83c7c8c6e9254a64a86fffdd0d3913c701b772d38a6fb6bc4b3881337e
|
|
| MD5 |
8fe8f9a07c316aedd38b27cc282bab32
|
|
| BLAKE2b-256 |
85dee9fb8ec82414811a3de1c64f86d1fc6c36fd4b8d5704649b1c8e1f207a27
|