Skip to main content

No project description provided

Project description

bart-rs

Rust implementation of PyMC-BART.

Usage

...

Modifications

The core Particle Gibbs (PG) sampling algorithm for Bayesian Additive Regression Trees (BART) remains the same in this Rust implementation. What differs is the choice of data structure to represent the Binary Decision Tree.

A DecisionTree structure is implemented as a number of parallel vectors. The i-th element of each vector holds information about node i. Node 0 is the tree's root. Some of the arrays only apply to either leaves or split nodes. In this case, the values of the nodes of the other vector is arbitrary. For example, feature and threshold vectors only apply to split nodes. The values for leaf nodes in these arrays are therefore arbitrary.

Design

In this section, the architecture of bart-rs is given.

TODO...

Seeding RNGs

The implementation of BART utilizes randomness in the growing of trees. The thread_rng function from the randr_distr crate provides a thread-local random number generator that is automatically seeded by the operating system or environment, ensuring that it is unique for each thread and run of the program. Therefore, we do not explicitly set a specific seed, and expect different values, e.g. sampled values from a Normal distribution, each time the program is ran.

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

pymc_bart_rs-0.1.0.tar.gz (258.7 kB view details)

Uploaded Source

Built Distributions

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

pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-cp312-cp312-win_amd64.whl (195.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (285.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pymc_bart_rs-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (296.0 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

pymc_bart_rs-0.1.0-cp311-cp311-win_amd64.whl (198.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (286.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pymc_bart_rs-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (296.7 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

pymc_bart_rs-0.1.0-cp310-cp310-win_amd64.whl (198.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (286.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pymc_bart_rs-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (296.7 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

pymc_bart_rs-0.1.0-cp39-cp39-win_amd64.whl (198.5 kB view details)

Uploaded CPython 3.9Windows x86-64

pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

pymc_bart_rs-0.1.0-cp38-cp38-win_amd64.whl (198.5 kB view details)

Uploaded CPython 3.8Windows x86-64

pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ ARM64

File details

Details for the file pymc_bart_rs-0.1.0.tar.gz.

File metadata

  • Download URL: pymc_bart_rs-0.1.0.tar.gz
  • Upload date:
  • Size: 258.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.1

File hashes

Hashes for pymc_bart_rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a91f9a380e7003ac8f3a199b1297a50e5fb5da3c63fa7b1a49fd4dc4127b7b77
MD5 4731c3b5bcd8b5ee6c80e343258f5541
BLAKE2b-256 72c265149ba820473c12061db5439e5c9cf602a3a0fb375a2b5a5df7ac76de58

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 990dd9a1c8370336aa47b149124afdfc036e18f33548350da8ef55387436acf2
MD5 e1b44a1789411fbebcd151ff284d4b34
BLAKE2b-256 d574bb19ec428b913ade38b072d526544e1500e4aafa5d99d0fcab76e173dece

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a21613b7d95f937987c8fb565d116912df70dba88cdf9c6a8d37d2708cb33ed7
MD5 4a7fb2fa7cf771864ed65869254cb1b1
BLAKE2b-256 e8a704ac014bc6fbaf7544461e11d2421e5c47f929239c9c562bdbc190f25730

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34f2b96f734aacca76f6ff264baba7d625cf7eea65f3eb5c5454e689d45effba
MD5 729900bbf277d4b0c57299f1fd9179ed
BLAKE2b-256 cf5312e8fb4ae9733fad7a7fd107236cb53048c0c8abdf7835a212a6e9ac0a45

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-pp38-pypy38_pp73-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9913f5c31ef54b71eb1ef0b3875d206d58f530e4104b9a735957d6686e11369a
MD5 0f3b7e636da380d3e39427c8d7eaa8f2
BLAKE2b-256 dd58c19cbc364ea42db4a0e3796fa462e917751394efc60418c5e7f5a5bc7fde

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 64eef0c9c2d8740bd6af735458321dd7bfa1d42e62cda3acf78c198a31fd0bff
MD5 92e99b2d43a0383a507e239bf9655544
BLAKE2b-256 fcc7ec305a4dd1a4f5d278e1791e3e13a7e1865d1f8b1d0749607d0c379faca0

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 091913d98d77ae7640186f5c226d59d78d9b31b90f133486ea8f6538639bd217
MD5 99155044b8eec49af421b87c531a2d95
BLAKE2b-256 f674940dc6ec63f9edca80df2287d3f7b83dba825ca36ed1c6a08e7eed2631c9

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f349822573a8287301ae755b2cfc6777c4868842a6a03bac159330df15621e1f
MD5 17a710dd1c284578bde4314407de0b11
BLAKE2b-256 a75b91a11ba4eea138b1cb6ba20ceb1844db4a8a6d38d66b3227ad5ecb21bbf3

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d416ecc67cbaa9d7355b60f8a9a53d7bc92c887d84b541e1d57f48dda3e5b60a
MD5 3a8e74478ac4a30d0521553511223fc0
BLAKE2b-256 bd42739e2ddedf3e7c510c385e731457e9e8bf2209cf7436d8007ab77e8e81f1

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e557415152f7e4f2acef216b54e19f67c9f350b89723bb06a8baa30cf27d674f
MD5 9b3e37f219654bd2b280f8a14c628aa1
BLAKE2b-256 1ec5dcfaf34b8fa5ce23256dbd626a0bb1e15912ab12ac68b5f143a1227527bc

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a782411724450d625da9f2b6af7f6c12e1b6938e6c0134abacf42df490080b9c
MD5 c13fa7af4daa7838f7a35b25c1e27ac6
BLAKE2b-256 12c664f4683a1f7efcb87d29904f2e3136a598c63969e92d36263fcccdd0458c

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 078d034473e9337885a2760e4654067b4a6fbe0ca40aec9ebd110abe6d5983e2
MD5 44504cf632b79dc9f91edd6bd4c2b959
BLAKE2b-256 007ae530653fd77d7d3f43c8cc6529a5a8820b3812bda699102d86803e6d8aa7

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 78e6b389828e1869a153cb641b817bda54d06f3b1c8ef2241aa53ff43bb1ce98
MD5 b0a3caf6d99b08102b604f23285161a1
BLAKE2b-256 0f14b407970b33ccf638d821536196b64119283e63b523cf69bf91ce0bd55509

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b10767f249b8c41a98721250e037ddb3a4da323d49a2433978a4ae4d6c2a35c3
MD5 11260a3d68b5e300aa7ef5e0eed5cca2
BLAKE2b-256 1c107c860fb1bc47f3bc06c21524da0aa32cd0eed662b50a6c36e7f43c1a383f

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e39b592b927894cc1cc2f960ac5aca81eeb3098f5c38d4c502340f6474c1bfeb
MD5 1f5b4a5c34e9540efbe2a1b0ece1355a
BLAKE2b-256 ecd36c3b8a2567acd0210507228795a9290cdb8aa8c05c97428129f00dbe1eb9

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ce6470a220e36267fa110571ad0fa0b9fc42df42f7681e634608006ded599502
MD5 77f80004c260707d80792b5804bc1edd
BLAKE2b-256 66a62c1725c6cc6f6e3f782f96a81d3af83bb8d7a242b2d7dff3382c23eea4e7

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e731404c0bfab866cceddc80250ad9eb329eb674d54f24482e12a750570b916b
MD5 c2720da6d8b071128d8a0151bbb72ca8
BLAKE2b-256 3d2e06e57be21c133af72137e071f677619c5f3d6a93240f775d1f594d285c98

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c8002dee5df6036e2c8a96ae8860ad4f89a675b0bbb9a0af7eb9caa812cf8dbc
MD5 e203490f6cf49c85e0680715e5d4ca94
BLAKE2b-256 0f7cb41b7984d798cf5a689606fa5d3ab1c4077639a489735468ea0636c339ff

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df6fb9e0fd430e8342c9a116ce9bb0e2ba63ebf8e1a1bf4a04db1838ce3d3b16
MD5 a68e9bcbe53bac23076e36ae8b1e4cae
BLAKE2b-256 0c9fea0af4af1ffd1d1bd30f5526be2f496f4cbab57894bbf5c1f68a6a047b43

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c40b2d85908f1366725965b1b53ca1350f4f51225d53349e4566bd48ca7d3d2a
MD5 614f321917613371857b209a2794e90a
BLAKE2b-256 23e26b4d657836354e16f84de5b5352f615a7e0b6fd3d1e4a20b319fd3ff577f

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0205d55052d1e06a2de49da6cb2512eedecce6a76d84ec11541c637a2539f6c0
MD5 49274465a3b82616bb5c0839baa71ade
BLAKE2b-256 120b411c66a9aeb236f722c9657d3f43a2d3a47bfb8b705dfc84cdbe9893468e

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a5ff0f92234e2c4981672ce782a81907c49d8b8e04dbd0063ce61ab3da1dec8
MD5 0aa6c39a237baaa763efcdb59465336a
BLAKE2b-256 55a7220d918a2844db46244c94cba9252674c3bc836c3b049b10184ae21f2b1d

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 40153d087d87b8006e39a0ccb4261d67fb00345165cfd88f9da6cd34696eb98a
MD5 8520370f1c08eb03fa88e32294aaa00f
BLAKE2b-256 81bfe4da690de11b9bdb557b9eae865a9f092e8d769c0783ba02a6e3ba00364c

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 29c23d71a6f0b0dafbfa29e64c5983d5c5299df274601b8cf24c7f39fa9f3e9a
MD5 c1d811a2f4aeef774a6cc8e231c90d07
BLAKE2b-256 3cbd3b680d4ff465a4bc21d36040e3d6ec36b77d0618a00700b0d2163b099cae

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de20c0e544b75b886b3f47eb12c51684e4176c7d85dc4d20cf0cb40e46a121af
MD5 f86286a3b36159b5f4f4afdfb0ae9a6c
BLAKE2b-256 11fc2b3bfaaaa494c0631df743f048b33cfc1e08470fd1afdcbd9ab96d19f7b9

See more details on using hashes here.

File details

Details for the file pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymc_bart_rs-0.1.0-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7c17b03c01f77ecf629a902a63da2a6d364f5c75a04481fc65c01f0a30d1df73
MD5 39eba18e2eef4468c39871ea7796604d
BLAKE2b-256 b65dfb7e9884d8f1e486715cbfd3723679f24703de6de38d2643da01b417eb85

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