Skip to main content

A probabalistic programming ML tool for science

Project description

pylace

Python bindings to lace

Install

Install lates from PyPI

$ python3 -m pip install pylace

Install latest from GitHub

Building from source requires the Rust compiler (git it here).

$ python3 -m pip install git+https://git@github.com/promised-ai/lace.git#egg=pylace&subdirectory=pylace

Use

Note that the engine currently only supports loading from an existing metadata file. The following lace functions are supported:

  • rowsim
  • depprob
  • predict
  • logp
  • simulate
  • append_rows
  • update
import lace

# The required files can be found here: https://github.com/promised-ai/lace/tree/master/pylace/lace/resources/datasets/satellites
engine = lace.Engine(data_source="data.csv", codebook="codebook.yaml")

# Train the model for 10_000 steps
engine.update(10_000)

# Predict the orbit's class based on the orbit's period.
engine.predict('Class_of_Orbit', given={'Period_minutes': 1436.0})
# ('GEO', 0.13583714831550336)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pylace-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pylace-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pylace-0.1.0-cp311-none-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.11Windows x86-64

pylace-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pylace-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pylace-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

pylace-0.1.0-cp310-none-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.10Windows x86-64

pylace-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pylace-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pylace-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl (8.0 MB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

pylace-0.1.0-cp39-none-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.9Windows x86-64

pylace-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pylace-0.1.0-cp38-none-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.8Windows x86-64

pylace-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

Details for the file pylace-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c587a7be5e186bd3f8c22460633e11a58c407a88217efcf22e331744b455ec7
MD5 8c7c13422565e5205f008b1e91f2aed1
BLAKE2b-256 5826df29391dd095d7f38b137ad206606ffb7031c1927059b060b6e738087730

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e35b2d3c408e0ed64b8bf399b513f9fe8500b45a777c120dc7fbc04b37304c30
MD5 9b348d946e5bad8c6e0feb1622ce5ffc
BLAKE2b-256 33f34b33a4b372ea9df7d5b1c151aac8fa6866c24afc903d01be08f9d21a11f3

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: pylace-0.1.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.17

File hashes

Hashes for pylace-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 41528503937fbc688aed28dee96dbc88163eb42cab527c4ea42b189bfebeab35
MD5 ec45bb98b6bc06103e7519f8625dee7c
BLAKE2b-256 f0c007c9cbcf7cbc4f991e62f5bfe91af1f004bde7a264985acc5608fe919545

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ad556b463e353e7a9407c2e23e9ed8237fc0762a10edfcc9d333ff1e28928f1
MD5 57d7c72a4f3ef3ab337dec55c276725a
BLAKE2b-256 5d0200d462835bf33dd5a97114f6b95342bcba1276b6cd547310c34c2802b5db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae624ee82a86d3d97bdc075b5b77c31e054d12c989ce2a77b459b5feea4c3203
MD5 728ae8881f7e40a7a90fd195e190b596
BLAKE2b-256 d460946dd10b665a18a5bac76c7679ba765d1a9b9bbb781e64b10f72b1279344

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 6f378a641d9eb9d051b11290ef6715ff102b7acf9ce027a5500eadaa51c1ffa7
MD5 55d3258e2c8927e71bc85642d3ce0e2d
BLAKE2b-256 fad6c6578785396e4346f7504328ec04112bc8e85e4d17feeca788c3d8c7f792

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp310-none-win_amd64.whl.

File metadata

  • Download URL: pylace-0.1.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.17

File hashes

Hashes for pylace-0.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 9abf137e9d888a846168d79e100e323917c9bf69dc8d9ba9dd758720388baeb5
MD5 bc6124c4f3273d6afcd2a8bbcec9a1ca
BLAKE2b-256 da813089ff632b3f0c2db8d4ee01e85030b92b5f3ee5b0445b4b8af37052fe69

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b35dcc6a2b0f4670b16e69218e09bc03e46cbbb32cea33098be7654cb3829c26
MD5 5b5534fc2eaf7e109f9652c8f7859cba
BLAKE2b-256 a0a38077a30ad5d0659fd7258215a89423c2b686845230a27f6d644c36fc27d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b71845877b201eeeb8bf91081c3e480f02d819aee8bc0c10b981156f0fe0b980
MD5 d472208edd027cf0055a7d5b6f49a6a5
BLAKE2b-256 d8600e36a20c54bda657a97316c14850482d4e1c066fad33b2c0fb601815bd21

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2fefb9f0c650a6338bf915d21f6108bd2902664259483326dd510d001e833530
MD5 4794aeef423348bdcb5884bfea42eef3
BLAKE2b-256 6a11932b7354871eed1faab1bc65c98f3bbd26fd1d30dfbea522175e363a743a

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp39-none-win_amd64.whl.

File metadata

  • Download URL: pylace-0.1.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.17

File hashes

Hashes for pylace-0.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 195c1892f77562e1773c46dcc9fa885e00e216f2c6a104204bbec623388fa2fe
MD5 4b54fd4a99dcf104e2bd18b95530903a
BLAKE2b-256 e632f2bb5555e2e240aa1e51030874648b6bc28254ac24094aa3b5e305479e9e

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8bb7d6b700774a77b140d6f83ee061baa8e90df9d27e7d658ec01a2610b7290
MD5 5a314bd1c1873310542181411a0e6b3c
BLAKE2b-256 e4e3c2377665dc26fb35faf0f7aaf9d1c565d336db1937913f368cf73faa5198

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp38-none-win_amd64.whl.

File metadata

  • Download URL: pylace-0.1.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.17

File hashes

Hashes for pylace-0.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 73a2115e8f9c7777b4f80943d55f35937ddb995c2b2f478ff8cf938274d3639a
MD5 9ae3c6fa1b11f68a9e0604ed7466e1f9
BLAKE2b-256 54d1c7ca6a86531f0bf149aecfd447eaaea9cb66cd75c7bbb3274ab6e61c49c8

See more details on using hashes here.

File details

Details for the file pylace-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4762b61e77faa7a32f852394f93bf2aa06147008ba6dbed20188c8129c5307f2
MD5 f00280a97a01989d0ec8dadf3e554519
BLAKE2b-256 6951a4cd32bc6ace5ad9650e7d8375b72c5b2488b847b13c659dc6e5994d6498

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