Skip to main content

Feyn is a symbolic regression package named after Richard Feynman, that uses the QLattice as a simulator to generate models.

Project description

Feyn

Quick start

Feyn is available as Python3.7+ package through pip. You can install it with the following command:

richard@feyn:~$ pip3 install feyn

Once installed, go to your preferred Python environment and follow along with this example.

Running a QLattice

If you're using the community edition of a QLattice then you can instantiate it by:

import feyn

ql = feyn.QLattice()

Auto run

The quickest way to get started is to use the auto_run function on the QLattice. First we will make a classification problem with feyn.datasets.make_classification.

from feyn.datasets import make_classification

train, test = make_classification()
models = ql.auto_run(train, output_name = 'y', kind = 'classification')

This returns a list of fitted models that are the best the QLattice has sampled, sorted by ascending loss.

Evaluate

The model with the lowest loss is models[0]. We can evaluate that model with the plot function and it's ROC curve.

best = models[0]
best.plot(train, test)
best.plot_roc_curve(test)

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.

feyn-3.0.3-cp310-cp310-win_amd64.whl (222.4 kB view details)

Uploaded CPython 3.10Windows x86-64

feyn-3.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl (315.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.5+ x86-64

feyn-3.0.3-cp310-cp310-macosx_11_0_arm64.whl (215.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

feyn-3.0.3-cp310-cp310-macosx_10_15_x86_64.whl (216.6 kB view details)

Uploaded CPython 3.10macOS 10.15+ x86-64

feyn-3.0.3-cp310-cp310-macosx_10_14_x86_64.whl (216.5 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

feyn-3.0.3-cp39-cp39-win_amd64.whl (222.4 kB view details)

Uploaded CPython 3.9Windows x86-64

feyn-3.0.3-cp39-cp39-win32.whl (217.7 kB view details)

Uploaded CPython 3.9Windows x86

feyn-3.0.3-cp39-cp39-manylinux2014_x86_64.whl (326.2 kB view details)

Uploaded CPython 3.9

feyn-3.0.3-cp39-cp39-manylinux1_x86_64.whl (326.2 kB view details)

Uploaded CPython 3.9

feyn-3.0.3-cp39-cp39-macosx_11_0_arm64.whl (215.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

feyn-3.0.3-cp39-cp39-macosx_10_15_x86_64.whl (216.5 kB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

feyn-3.0.3-cp39-cp39-macosx_10_14_x86_64.whl (216.5 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

feyn-3.0.3-cp38-cp38-win_amd64.whl (222.3 kB view details)

Uploaded CPython 3.8Windows x86-64

feyn-3.0.3-cp38-cp38-win32.whl (217.6 kB view details)

Uploaded CPython 3.8Windows x86

feyn-3.0.3-cp38-cp38-manylinux2014_x86_64.whl (334.2 kB view details)

Uploaded CPython 3.8

feyn-3.0.3-cp38-cp38-manylinux1_x86_64.whl (334.2 kB view details)

Uploaded CPython 3.8

feyn-3.0.3-cp38-cp38-macosx_11_0_arm64.whl (215.5 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

feyn-3.0.3-cp38-cp38-macosx_10_15_x86_64.whl (216.6 kB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

feyn-3.0.3-cp38-cp38-macosx_10_14_x86_64.whl (216.5 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file feyn-3.0.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 222.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 82331c7d2d5f0b9d6b85a2ad3178d6719c980d7d6663b55d5cbee04088a91bad
MD5 61c35aa118286ce5b8da96dd8fca029f
BLAKE2b-256 4f9abcb74ec5ada59af0cf2f4f0822132e6ea83f7c992236ec23fe5f25e014c5

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4d79e383b026a5e62ae99340c338526d004667b019f422ef8e348ecef1f4ca6e
MD5 7e03f9ceacf21f1e6ffb2a8d73fd643a
BLAKE2b-256 f3311e209e39b6ff8fd42152de4eb3eb106a38a6ec5ebdf94409c9c63c2e18ad

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 215.5 kB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c54568ce50bda9eb22be57523992c59730a9a02e5b0a5e08a9adccb96cb86440
MD5 32b39e295e918e0e9844fd003a814d6c
BLAKE2b-256 2729163986633b4978e77a3488e84a4ca8d11cb8fee4d8bf5b6a902c592d9494

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 216.6 kB
  • Tags: CPython 3.10, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 443205c8663bf236a0f5eb8572037a539d9480af6d6357dc7fbc4dbcd71832e7
MD5 be98b008e05b61d039eb6701ad467dff
BLAKE2b-256 e1bd7654c8bd641c583753193b434e0aa76008a2ca3481772d8f685121ec3fe3

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp310-cp310-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: CPython 3.10, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 67fd0ba1fae86ea0e6efb336e3d980f7400b7c495a53485181498de1866fa959
MD5 f3ba3bc7fc1b4956778f563612aebbde
BLAKE2b-256 fead0634fcf4d4c550d06836da2f305b8296ce04ee8e471654cb363c2b0098b6

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 222.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 cd03e8319f9fc2edacd4700db0b936bfaa62b894fde9b94e9982768feac946de
MD5 ee5731d4fb6dd57d40e54fbaf27bd93c
BLAKE2b-256 e8cbee53519cad7112abc6cce8f6b8f05fd5a4f98000ff9122ee9145678b9113

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-win32.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-win32.whl
  • Upload date:
  • Size: 217.7 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 1fd9c16113edb9d7d1f0842f0809f54357254289024f939b49e306e71adcef21
MD5 ba69053537fa5e0a51c7e3b2cc172a8c
BLAKE2b-256 b8d042e41c867fec4f495198a69a5a713504290d4315941a0e30d2147472fe56

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 326.2 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 83ea79ad19c97689a00ebb01b631ead7e7a1f6c7c979ec3d2cf9e058a0e6e784
MD5 627d9f08eec68ec4ac414900e2c1da46
BLAKE2b-256 4ae013793e7efecd70b033b150a0f7154de797cea0c7463c443f8773d20c2834

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 326.2 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7a9162f67f7cd7984f442e6a16d9bf98aaac259334e6392b6b754e9e3ac5f928
MD5 9bc654b750b836cfb7c001427a828b5f
BLAKE2b-256 c62a30185c543319c32ad82af70fe5a600b26a6c3979fe21be4678679c267890

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 215.5 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd82dc3470de89d8f501daa208cb467c9e220afb8862d615b24d321058508a55
MD5 5367f3ac8b4768c15723848203e603fc
BLAKE2b-256 afa53196bf3f671bf9f2e1d36895c266a18dbdbd523afe63a845cf6431205f16

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f7cfc21b42f6a19334fc8a4ab19bcc5dd69ed14d0d6db79fe4c95b9c8c633631
MD5 3cc4439acb965c854a93e7a161f36a1e
BLAKE2b-256 d10e2353e90e13f9c51d0539f278b99490f4959c0248f05f2cb775ba94c01faf

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: CPython 3.9, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1206e66622a7e643d4abbee8870cde2e314fcc994e2581d30ef86c4d1c99d471
MD5 41c804977c83ff2edea3d8caf82cac50
BLAKE2b-256 afa62dbf4ab9f9ed6d47930e81cc5a75545a3b218af6d7ea0fbeda9b6c4b4acf

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 222.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 cce651aa4a32e922ed4ffc2b0aa99c0742d631eeae18ca1e0f3f8e760be2b706
MD5 a9a2217e7815189018bf7e04b18435b8
BLAKE2b-256 1a740820096f8e1e634f3bf87295d4fa369c028614b3e959a078d147c904cda7

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-win32.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 217.6 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 20675c5eb7c2141234c75b619acd58bd0150c35e6a4b1b1203889c904b0fb24d
MD5 47782a8b66e0715bb8852a8278472901
BLAKE2b-256 f52defb47ee8fe8a93ba598205101b90df24b8512751e79907e1252994810d89

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 334.2 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35d19b104fe8a417ee9b06462b109047ee0352b1ef8a5a76d05bc57e5b553990
MD5 b215acc159fa508b4e21775617fdbc36
BLAKE2b-256 b846dd1dbdb1350dcaf106d4350af0d2c4ce00eb15dfbd1bf98969d54c087470

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 334.2 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5fcf72bd06f6e539100b4e9cb9f858c63c8d907313d8d71d39e559874956864d
MD5 1b81049d0a220a7cd63f677bbd1019a5
BLAKE2b-256 213ee09406616d65a9b05da9bf06088804c08013976b76676509367540956ecf

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 215.5 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42b576da85d64af3175b0567247213b0a4cc467ebc97f85bd7d7a9ada4c0db36
MD5 bf0a8f4ae8bbb9cff4ba9ce5bb4ca76a
BLAKE2b-256 3fe2dfb4d78c3f5e70d8b436a5ff2a6f6cd281e0b5dcbd0edb4919da62d654c5

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 216.6 kB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ae2331628446af67ea2be81d1789ef9e9ea94db3059bee83367f5792a178aba9
MD5 730ebfaf3b702c0f082c0aa1a6bc5f49
BLAKE2b-256 eb63ed29176935878c042120a06b3fdbbb72e71cf3ca09f9c6baea1a22ac742d

See more details on using hashes here.

File details

Details for the file feyn-3.0.3-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: feyn-3.0.3-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 216.5 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for feyn-3.0.3-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 93ec0ccea133ab6e94edbc48e15a049737e8ea1a08ed3b9d07991c187bbca55c
MD5 1483c17abcbe4d453e200bcb5fd424df
BLAKE2b-256 021f821c9cff56ff6e820d565b9f5285b6bfe5ab305c7bbb10b399c3ca31fe01

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