Skip to main content

Differentiable symbolic discovery on the EML operator (Python bindings)

Project description

phop (Python bindings)

Python bindings for phop — differentiable symbolic discovery on the EML operator.

import numpy as np
import phop

x = np.array([[1.0], [2.0], [3.0]])
y = np.array([2.0, 4.0, 6.0])

disco = phop.Discoverer(population=256, max_depth=3, max_epochs=1000, seed=0)
result = disco.fit(x, y)
print(result.top_latex(5))

Build

maturin develop -m crates/phop-py/Cargo.toml

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

phop-0.1.0.tar.gz (134.0 kB view details)

Uploaded Source

Built Distributions

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

phop-0.1.0-cp39-abi3-win_amd64.whl (779.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

phop-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

phop-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (876.0 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

phop-0.1.0-cp39-abi3-macosx_11_0_arm64.whl (821.7 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

phop-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl (909.0 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: phop-0.1.0.tar.gz
  • Upload date:
  • Size: 134.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 032e1657df88fd19b51333f4e668527503480879533d93cc1c7688d62278006b
MD5 c32f59b7bb48854cea446c069004845d
BLAKE2b-256 dba3d9859ed6dae57b5620ed1a16a554adf271bfdf6389fd304dc56e889cd70c

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0.tar.gz:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phop-0.1.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: phop-0.1.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 779.7 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phop-0.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ee9fe4c9209021b44e2fdbb4304e1d8cf2ab3f8f94ff4ac3e93e5b3fd993b043
MD5 4083ac710affbc3d4468a9c847d985fe
BLAKE2b-256 9311f75b92077cfb3c884e3aacda1e3ba271d45194351f7bd2589501a4b9ed9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0-cp39-abi3-win_amd64.whl:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phop-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for phop-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 827a55f4489f1fef4a8b23ee2b43fe67edbee220f66ea1d52daf24dc90db8e07
MD5 2f868078d8880ec68b9d705a2b2b0e71
BLAKE2b-256 347d3c4bbeabe0f6dfc2de079b97861c2f0f1767cb1724c45489d9fc5e71f289

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phop-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for phop-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e822b42ad300f5a49e84d56b12eb0d8e38caceac2a85571fdab8f6e00a1ff803
MD5 2d2edf91a99337127581cfed7434bea1
BLAKE2b-256 8d87be793da5c7a5392ebf32598441c90057c09ab07abee21f0d890f23acd23d

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phop-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: phop-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 821.7 kB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phop-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 abdc40a67ae87d8ccf84a203e4d75e8b9add989f393aa982d49b8a5a78d14c99
MD5 e7d9fecd6a2ade7ffe6c4d0941e4be14
BLAKE2b-256 36c08d42104d28e27951da5733bd01968daf45ceefd6b9a06a1e1cd66d63bcdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phop-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: phop-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 909.0 kB
  • Tags: CPython 3.9+, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phop-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b1cafbea904d07186e0dc4694018d6be2aea7e0c6a589e07e4d6aa185bfce513
MD5 665f3e0044c94d808e895507a1eaf723
BLAKE2b-256 1da5201e99bbb738a7c248f70d03bf93c46162e7452b90bb136a1ad4c3e8514f

See more details on using hashes here.

Provenance

The following attestation bundles were made for phop-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: pypi-publish.yml on cool-japan/phop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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