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

feyn-3.0.4-cp310-cp310-win_amd64.whl (223.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

feyn-3.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl (316.1 kB view details)

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

feyn-3.0.4-cp310-cp310-macosx_11_0_arm64.whl (216.6 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

feyn-3.0.4-cp310-cp310-macosx_10_15_x86_64.whl (217.7 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

feyn-3.0.4-cp310-cp310-macosx_10_14_x86_64.whl (217.7 kB view details)

Uploaded CPython 3.10 macOS 10.14+ x86-64

feyn-3.0.4-cp39-cp39-win_amd64.whl (223.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

feyn-3.0.4-cp39-cp39-win32.whl (218.8 kB view details)

Uploaded CPython 3.9 Windows x86

feyn-3.0.4-cp39-cp39-manylinux2014_x86_64.whl (327.4 kB view details)

Uploaded CPython 3.9

feyn-3.0.4-cp39-cp39-manylinux1_x86_64.whl (327.4 kB view details)

Uploaded CPython 3.9

feyn-3.0.4-cp39-cp39-macosx_11_0_arm64.whl (216.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

feyn-3.0.4-cp39-cp39-macosx_10_15_x86_64.whl (217.6 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

feyn-3.0.4-cp39-cp39-macosx_10_14_x86_64.whl (217.6 kB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

feyn-3.0.4-cp38-cp38-win_amd64.whl (223.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

feyn-3.0.4-cp38-cp38-win32.whl (218.8 kB view details)

Uploaded CPython 3.8 Windows x86

feyn-3.0.4-cp38-cp38-manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.8

feyn-3.0.4-cp38-cp38-manylinux1_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.8

feyn-3.0.4-cp38-cp38-macosx_11_0_arm64.whl (216.7 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

feyn-3.0.4-cp38-cp38-macosx_10_15_x86_64.whl (217.7 kB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

feyn-3.0.4-cp38-cp38-macosx_10_14_x86_64.whl (217.6 kB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 223.5 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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 53e618a61e09b0a1b3ef9f864cc5df6afc4a695d7b6e232f045427a7e0d5659c
MD5 195e8900863e688fed3c05a003bdf76c
BLAKE2b-256 ec63cf4ff01f311de3d61ea83e2e33eb7a25e2062252fc67b815ab47629becf1

See more details on using hashes here.

File details

Details for the file feyn-3.0.4-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.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 60421bf389839a771067ae3c48931eaf66deace13363d36175121d24ec7ba154
MD5 0616c3ac5609c7253d43ffc873f891fb
BLAKE2b-256 df94738de236225af09be005c58cb3d749f086e3027d6719b38930f06c7051f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 216.6 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.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 268875c29fbca957a6d71670784aa62e3f629b2b88d42a34a2b232f9b99504e0
MD5 b45ed8bd0f045001b287ae47cc4eeab2
BLAKE2b-256 c303786cd63254af02c8900c3a1af9d7f06b10813399d770816b8f64ad0a9584

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp310-cp310-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 217.7 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.4-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f77b35c404d5d10944e59edffa9e67a32ccff3a44fd3a69cb0c34c85063b99b7
MD5 ea23a776e9746511c31caf88b7f54373
BLAKE2b-256 9300ee65e4d4f4b5134ed571697557b6c28caa57bba03ca1a24b4a01a8939939

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp310-cp310-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 217.7 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.4-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7ae46e8c83d2b779d2b93412d520577498c00998a49cdc563a68e3ffe37a64f1
MD5 ec1494bfee8639c926473a4b9c2b8acb
BLAKE2b-256 3b74943a4b25074caf1ba67292b379ba2ec1e9034a8a3bb15f24372435adb568

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 223.5 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.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b492fe9879b949b39f313813bcecfff530a2cbfb8e54828a685f4eb7a9ce1da4
MD5 5d6591e556e79c0c23406ed5eb83d207
BLAKE2b-256 c53d963b1a2eb9921ebf1c5be462bbaa8dbac9a47cd59043fc917acf64468bba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-win32.whl
  • Upload date:
  • Size: 218.8 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.4-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 ad70bba0f4f8cf7d5167c39aa7162176690d9ff9b1e4b4a41a26df3e467aa9df
MD5 21c97b7d84a9f1277f62ba875bd14045
BLAKE2b-256 330427d858e4a65a73e9491a37344d0bb40e76dec7ac4264ee1472f08a5eb9e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 327.4 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.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d9e12267f66d966279d4b01afa7818d2c16a8d9aa3efed558866ed2ef79773e
MD5 62af71c7fc9b954ab129bb7988da48f9
BLAKE2b-256 1bcc4ff4cc1abc7a311dd40de64b9fe108fb5826595b908a6687a4d05294dbd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 327.4 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.4-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 79e49df1ca6b6b0b963c6a435a16f4668e5c0826199e17baa9ebf3c468ad9351
MD5 b270ca5fbe9f4fc09bb66c1713e4f61a
BLAKE2b-256 993bd6e965fab559632537aff8b36fc518ce168f5cfbfd40d93d8870aeb4edbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 216.6 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.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c257e4c43c1019d82bcd913f0924b16ff98d1b559927fdd8531896db6c69b719
MD5 140a50c8387e0febadae57739ed52263
BLAKE2b-256 5138cf940d7fa62cf42a28b1a557a48ff5b12ca3ee6416ca74166347ec17bdd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 217.6 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.4-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2838f97bf3f0306409125ccc34c9b435c4d1b610464570d9d7f4e5384ea19c2c
MD5 11da20f40006d1cadd5246149359f4e6
BLAKE2b-256 d4d4f7e26d9674cd171a2bf212bd45c20b3fc164e6c372fde0ace938f574697c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp39-cp39-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 217.6 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.4-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 eaf470ed18de9c85f59e935f5d4107e419c7d296e3b9f0b37129565202950566
MD5 00c3eb03749fc1fe5653a17361d15c44
BLAKE2b-256 e972598f5b0f16bd16bb46b4fe7e80da59f16c564d653128b6b1021691a38c9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 223.4 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.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b0a6d600249782cb30ac3ec9d9fd34bca812c80b5f614ee3f6140111717826ce
MD5 bc72a9253e1e477e93a099476e723370
BLAKE2b-256 7e062f0d78da8f06f35542ae039c6f72ee1330e9943821d06ddd6c695f3d9950

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-win32.whl
  • Upload date:
  • Size: 218.8 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.4-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a6f8a13e7bde9915c86d89c301c36dbd6e98497efb406e607329aef6ea72be7c
MD5 c6c7d73efed45969122f05df9abd2e12
BLAKE2b-256 cd7d79411a51df7e2ba6fbed806d0ac623eedb7b12643489db963af07e58ce8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 335.4 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.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3033ab0269cc2936edb1e4ba9eec999defb87460c64247ad47beb1434a4648d8
MD5 f765dc5a40ac6e7d762fa5c44c769f50
BLAKE2b-256 6d0b76d086717d5dc1d7c298376e85acf3f4353859e419ab73ba70a522c9b802

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 335.4 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.4-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d8bd2e9cb676bf190aab0551aa970977936d442d1ddc6d94ff3863f7a31bcaae
MD5 e0e9bbbeb2a93ac5bf1538fae0cb6d8a
BLAKE2b-256 4419094a0315561e25b5593012d17130fd9e3a7bd26c0d224c380b64187ba84a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 216.7 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.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f28eb4f8becf30a178fb5e2e4cdd3b5446cea091f2d6f27f42b276794d38d709
MD5 d0698f6b9facaa313217a4178c4b4c76
BLAKE2b-256 c1c48a73a993c79f9fc8a66d15e59cb66bf6f3060b5c7ba7719106faba441bf5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 217.7 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.4-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 889e2147a6f470d765bd1d97838691b4485317579ceb2bd0280a808e805f16a5
MD5 d626e41ca2eb2b68b7f1c93586d99869
BLAKE2b-256 fce795c519ac8d9e81d8aa08d9f1c7b23dfab9beef73fba337187224a8350d02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.0.4-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 217.6 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.4-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dcb0ab306276ba8afa7138e0602329291b4793fb2d8ed803dde1fe2a7a45195e
MD5 9ee2ed9f9eb104451bf4935169a3f900
BLAKE2b-256 4d61c56233df9b1c81629f923a4ea1a349f8f77ff43c82505284f721836a358f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page