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.2-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.2-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.2-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.2-cp311-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.11Windows x86-64

pylace-0.1.2-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.2-cp311-cp311-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.7+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pylace-0.1.2-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.2-cp310-cp310-macosx_11_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 10.7+ x86-64

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

Uploaded CPython 3.9Windows x86-64

pylace-0.1.2-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.2-cp38-none-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.8Windows x86-64

pylace-0.1.2-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.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pylace-0.1.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d5426b3331bc6fcd6068e432820190d4f441e07ec12fe5312cc6f36ee494214
MD5 95822c1420beab0cf7ee29424a8e4bd7
BLAKE2b-256 75b7284518ec0174bdaf9cd72c4d2bb038d89156d896569efe55f1031fede99f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5432fdf411ec708f19934f462d7c0ef9bd36f62eb8a20fbe9d82e2c706aa3d4d
MD5 3ee1ffb6c0f7f992b11508f71a8695ee
BLAKE2b-256 a30354da9737d238c31239936b9aff077df3704c2d857e0da486c7e9fab53672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f51782d295625dda5c8f0ff643448ba8fb75b6f94d68f876f59f4f11336cfa8
MD5 b103c4163350056c83a15907aa01ad6b
BLAKE2b-256 1d126b99d1f730ef843a5f855b61510404a8ba83c0a10a32f0d6212e4340e499

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylace-0.1.2-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.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 f1afc4b084fa4aa735b06aacebf583e6699bed1bea3f2292ad0984d8f927f632
MD5 f9961bbceb6567154d017a502efa625c
BLAKE2b-256 23bf6878edc977a87d407381262f01e4dc2d5d538a729121f8bbaf7b9d7c5c37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 abd378f85b6eb3f6264083cef1b0dc03dc99254cffafbe0f2c664378c0d35334
MD5 0c5b41f81349560df5115ce1cb44452f
BLAKE2b-256 21dbedb41dd1af793496a878fd8c8cb3d1c3420364b0ba7362b87b0a5218920c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb07369f5994c1c5634cfca37641e249e8ad12ccfc78242aa9ed382c9e0b050e
MD5 7f4b4d7ec241ce75c741f946b5b196b7
BLAKE2b-256 b7fd21f1e646c9f2bbb6ddf19ec1f9c72e6e1bb125f0aa783f54bac3bc02fef5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0bb0eaf5d708d7e8a23cddcaa44c7760abeb4e7e2cadf4815d987d2693f74d0a
MD5 98c8ad0a82de65d135b7eabdac2c245f
BLAKE2b-256 1932c8c602ed9ffd1be9b570a354e012c877b43f8eb157cc637d76369bfa7bfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylace-0.1.2-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.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c1c14e4c08e2506f1897129883626933e5e574457ff3612897d3f7c1f794f773
MD5 ee80b65171b5fdcdb346ce88cb08c13e
BLAKE2b-256 c0019c060ac22849ca57107dc59c4b86e7539a07de1d4ff272d252753b799ff3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59f436d465bec5dc63a9560afd26ace154484fd115ca5bfc69e447cface55d94
MD5 67c95fe15ca04e77abbebf493af47aed
BLAKE2b-256 a180406183fc70d9f11f0855987c0eeb9756cbdc622deae3ea13d212841c5dc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 203e78985a52af189b66c6c9b9b455f0e3abe2fe0ef461fdaf2aa64a66451af7
MD5 5cd9c5920f276448081ee59ec0173a66
BLAKE2b-256 ebb29a8b6b4dd91da74bb47e1709c8ce05d043f80262bfaa5d8d5dc2e1df4e99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 ea620d478a0969f31ab582d665ca00469803cfd523c0ad2e5b86f6cea10776e9
MD5 dbe2a5fe2301a526e5e9b1eb4160edbc
BLAKE2b-256 9335012c1f34ea8320c1c189d0ad27a3ffadbc20b89c2b4904cd483adea73449

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylace-0.1.2-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.2-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 1db5e1c2d2bcfe9fd6cc84cf556efda1396c3c1bc1354c1167d65ac006459641
MD5 a7d8d4318e4ad582131c5cc57d7db22b
BLAKE2b-256 8062c043531086b2f47c558d37fcb541b6fde28d3e2240eb8b30a151e1eb800b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e9912905ac367b52eb081b43ac869d6b2c05ed2f3189a54d11098b648037382
MD5 57ab4394362f8141c09ed1f6a287c199
BLAKE2b-256 6494238f7c8ff724a492ca744f0116d8461984b6c58ab35b8f18c8db1066f85d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylace-0.1.2-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.2-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 7443b2f4077fc71cd22935ab15cfad48fd6965cc461bd02cfb09c43a034e94f6
MD5 91a4009861d2decc6d9bf991f3dcc6e1
BLAKE2b-256 ecb8a6c33ef03cbf5f31d98770859fccc9f29335720d69a9da82c34044d68f5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pylace-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be88aa8d9701bc704420a8f3980e4cb4cbc21642303a4fabbd20485b12e2ee22
MD5 2e08b65b5321030f7cfa8796ea9b77d1
BLAKE2b-256 866cd716c17333ad3d9ffe40cf6fcc531daf0a0d770f98fd33aa24d52ebc497e

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