Skip to main content

A probabalistic programming ML tool for science

Project description

pylace

Python bindings to lace

Install

Install latest 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.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pylace-0.1.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pylace-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pylace-0.1.1-cp311-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.11Windows x86-64

pylace-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pylace-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pylace-0.1.1-cp311-cp311-macosx_10_7_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

pylace-0.1.1-cp310-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10Windows x86-64

pylace-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pylace-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pylace-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

pylace-0.1.1-cp39-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.9Windows x86-64

pylace-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pylace-0.1.1-cp38-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.8Windows x86-64

pylace-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14207f7cd5daf11db4ce985d9b6a79b6fe2808a602b84117acd82cee084b2624
MD5 1b3cd7f400a7a669238058afdc6f148e
BLAKE2b-256 05267627408428c1e2b20c9b40f71a296fe4dcd09f8aa4e408f96ee15ee38a95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a43786cd12dbde2e434a56fb171de314af50a6b1582e343ca103ec6befe65ae
MD5 fccafed632dd2149775216525aa80bad
BLAKE2b-256 cb29956a7efda7d6373841870b96a26a487b11878d48362e699d6513c1c5f4e3

See more details on using hashes here.

File details

Details for the file pylace-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c358ea44b5af2c4142f0d6444b9f2f73356231b32ef85bea1c6ccc8652d72fbe
MD5 d9c8da6a212b7261ee6068113dbcb692
BLAKE2b-256 419dd35d5074752c6eecfae8b986610a21ebc6f8ceeb60f318ce2df50bac46ec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylace-0.1.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 c6667f880ef8de784a8770c52552339a9bd23b2157520ef3613c46496c76520c
MD5 539a4e0b4864e065d50021e7881832f1
BLAKE2b-256 1d1cb6573e4627ea4d8cd23ea041ecd285b94592c3dfe071b7bc318c4363adc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d20e39e9562b6753442b05108cb37f8a7b8de60e21f34c9110cacb699e5b425
MD5 2483c753b05adf3186192de0f3306378
BLAKE2b-256 94b46b9c6a2abb19544d408f507d6dcab68a7018a0464051bbd486eb63c80986

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f98a77907c47def91aa552620fe31c658f946a86cf227773af96b10f6dbd4320
MD5 8c3aa2af8814f72a02dc1568ae0a3cee
BLAKE2b-256 1d72c915a9465bd636d5e333aa746594ba83411f28d750ee15b981fc84cb40e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 239f15b02c6af27b71f46c652712ded5a92e8572d0623d7cc24f015012248108
MD5 9c86483f1903d0ea80d681b9c01cc5f8
BLAKE2b-256 fd8a89395afa3e93bc0c08962c4fe58ec7058a5e2bdc685f438139521089fd3b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylace-0.1.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf280dfceedee82316d49a4cb4dbb49b8d7dbd427904db763a0dabff207c314c
MD5 3e6598264eb175d18b9b6eb251c9d68a
BLAKE2b-256 65838cb129b8675977d9815cf75fdbeacc6ce719266d2a783b6ff25a39582283

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 070aaab76b76a82957de6980f2bdb11fe8a76742bb1cb9c64068248eaa0b9c9f
MD5 b43cb45a0f3df4bad45569abe601f041
BLAKE2b-256 012c53e91636aca24253de786e5ca5d493dc442487d7f0ee65a0c8a6bbd25f28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b6d87d7711192ac3512edbba2e1ba8a3f2dc37a566ea365baf0ce06672cb221
MD5 db9f4250f7ab663c036fab4fc24eca69
BLAKE2b-256 7356a1d4e59b7a6c885e8eaadf0e4298441cd44ec2c7bf006e9691ab26aa5229

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 239b36232d5858ef4a0a73bbb223094b2cdfeec185939a262a2a641b7df67bf0
MD5 d1c46262090144de902647cfe28f900d
BLAKE2b-256 f952d7aa03b7fd232070dd1c8fb1cf9e8b891532c617cd1219e428bcb92853ca

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylace-0.1.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 f6d77d1ebf805aa783b343b07503f3a83fe30f2b4486440f5d445731e6db0e61
MD5 052c4d9d5ab005025180c55e1ca10b0c
BLAKE2b-256 0aae69c6bec722c20858e56495375c8db56ccadd1d500772a1eeea10ae4722f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8a8de76f3687fdac2ff307cf6367d1bccf1a89dc1715399ce8771dcea5c4b10
MD5 aca80ae25a94efccd6dc8e548b72cbd8
BLAKE2b-256 368a48cb8717639d3bcdfd29421dc4c014a27f6cb40eec36e477c92938123610

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylace-0.1.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 0e65231481a39a0e1ebb36788b0630cbe281f676695d1f69ba5eda0a69f68c5b
MD5 b55b637b5ee5446ca62753ef97963e34
BLAKE2b-256 8cfff46aca2371987e432e79e1d70cf2ffc2a5ed8351bb85d6b097983a4e87bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d36f1582f31e4689a12973d9e0fc8e536923234ea841c6d18e450ce0cbc31480
MD5 f396e60b0400bfa45401c8b8fa199130
BLAKE2b-256 a45c431e84c83ddd396394bb6f832708a51d5cd0d150fb72deb6dd26d96e0c05

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