Skip to main content

Rust implementation of Bayesian Additive Regression Trees for Probabilistic programming with PyMC

Project description

PyMC-BART-rs

High-performance Rust implementation of PyMC-BART. This implementation provides an optimized Particle Gibbs BART (PGBART) sampler designed for performance and extensibility.

Table of Contents

Installation

PyMC-BART is available on PyPI with pre-built wheels for Linux (x86_64, aarch64), Windows (x64), and macOS (x86_64, aarch64). To install using pip

pip install pymc-bart-rs

Usage

Get started by using PyMC-BART to set up a BART model

import pymc as pm
import pymc_bartrs as pmb

X, y = ... # Your data replaces "..."
with pm.Model() as model:
    bart = pmb.BART('bart', X, y)
    ...
    idata = pm.sample()

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

bartrs-0.2.0.tar.gz (99.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bartrs-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl (392.4 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

File details

Details for the file bartrs-0.2.0.tar.gz.

File metadata

  • Download URL: bartrs-0.2.0.tar.gz
  • Upload date:
  • Size: 99.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for bartrs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ab58bcc4e98b112bf3b1442ad355be89cf5c82db1c312233eb1bc78e57f6a04b
MD5 3b2055a8de1a2d71c18770dd908f4034
BLAKE2b-256 f07dc3e942650fa319132c009522ba3b76d48fdb3f14a9d13401524684f53386

See more details on using hashes here.

File details

Details for the file bartrs-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for bartrs-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a33019f63f02d5b4a6fdb800cc0594988dfe9ed2d403f837a6f81c2b400c3268
MD5 de5ae96df9fe40f4bd2385b95b206a47
BLAKE2b-256 218ae6542a3cb7ca141fedaa7ea1b7e1b46691ee66491fb88bde915b52b47104

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page