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.8+ 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.5.0-cp313-cp313-win_amd64.whl (240.6 kB view details)

Uploaded CPython 3.13Windows x86-64

feyn-3.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (329.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp313-cp313-macosx_11_0_arm64.whl (236.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

feyn-3.5.0-cp313-cp313-macosx_10_14_x86_64.whl (236.6 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

feyn-3.5.0-cp312-cp312-win_amd64.whl (240.6 kB view details)

Uploaded CPython 3.12Windows x86-64

feyn-3.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (329.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp312-cp312-macosx_11_0_arm64.whl (236.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

feyn-3.5.0-cp312-cp312-macosx_10_14_x86_64.whl (236.6 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

feyn-3.5.0-cp311-cp311-win_amd64.whl (240.6 kB view details)

Uploaded CPython 3.11Windows x86-64

feyn-3.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (326.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp311-cp311-macosx_11_0_arm64.whl (236.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

feyn-3.5.0-cp311-cp311-macosx_10_14_x86_64.whl (236.6 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

feyn-3.5.0-cp310-cp310-win_amd64.whl (240.6 kB view details)

Uploaded CPython 3.10Windows x86-64

feyn-3.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (323.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp310-cp310-macosx_11_0_arm64.whl (236.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

feyn-3.5.0-cp310-cp310-macosx_10_14_x86_64.whl (236.6 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

feyn-3.5.0-cp39-cp39-win_amd64.whl (240.6 kB view details)

Uploaded CPython 3.9Windows x86-64

feyn-3.5.0-cp39-cp39-win32.whl (236.1 kB view details)

Uploaded CPython 3.9Windows x86

feyn-3.5.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (322.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp39-cp39-macosx_11_0_arm64.whl (236.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

feyn-3.5.0-cp39-cp39-macosx_10_14_x86_64.whl (236.6 kB view details)

Uploaded CPython 3.9macOS 10.14+ x86-64

feyn-3.5.0-cp38-cp38-win_amd64.whl (240.5 kB view details)

Uploaded CPython 3.8Windows x86-64

feyn-3.5.0-cp38-cp38-win32.whl (236.0 kB view details)

Uploaded CPython 3.8Windows x86

feyn-3.5.0-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (327.7 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

feyn-3.5.0-cp38-cp38-macosx_11_0_arm64.whl (236.6 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

feyn-3.5.0-cp38-cp38-macosx_10_14_x86_64.whl (236.4 kB view details)

Uploaded CPython 3.8macOS 10.14+ x86-64

File details

Details for the file feyn-3.5.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: feyn-3.5.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f2463f28ff12e30acb8385720f634f3fca788da94e823be347d92cacce688625
MD5 03c658bce21ca8b3dba4d40a2eadc439
BLAKE2b-256 ec91592a338a8ab42dc0dca8d7d256a0942fd3b1be45095b5babdd4148298003

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93684147b266bfcfa7a7be10d546c68f753156eff98c05606a22b0605a103413
MD5 bce00b5132e913cebe5f58789467b403
BLAKE2b-256 7210c9d35009b3a12b06df5d476b3e84397d21241cb43e7b1f9e4f1b5fe87d99

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 145a37a8ecfe8e3bcd1a50b3d07cd744b31a0711b0aa05f56923897f83761e0e
MD5 9b13ce0369423597ee00fb82bba267c1
BLAKE2b-256 892ac38bc0d5c7eb1650af257e7704540c2de50506c6302e6782e8d79df3824a

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 19d23684538e1892540b7bf3f44f33da64a3e209345f05f996ba48bba2886d65
MD5 4f61882e9c5c752399e22eb02f5121bb
BLAKE2b-256 33904958f33b3656b0da2b772acef5d0466491cb9e8d97712ac46790ba42d281

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: feyn-3.5.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0915168290a985844ddb689414dc83f27b66ab803f9996a06b194ddb6fe42621
MD5 6f12ce8a4ba9a2caca37e4f733e7515b
BLAKE2b-256 56a950e4daf673c66d3b91eb0c65a931fb52130f9899cf042ae0c713f28a2718

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5f797c30530f2f495b2f2d8c1880839c2dbbe8037fdd0915d09ffc64050ee01
MD5 f92e5544f288170f77287c4343f5b0ff
BLAKE2b-256 d1a5f53c72ac73b342b69a1386ad78454a21df8c4d8c3cb982dfb551628a9586

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d29053b07479d20707bbb20658ea57b797dfd43cbd4b22a4fcad87a9d6b03bea
MD5 82a58bb8e4db7d2505151b3a0cbc72eb
BLAKE2b-256 8f1bb49ff628a5193866c2cab6141221cce735834e8b59e549caae8ec14be973

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e38110aeeee056f940e0d8a400006451472c45e737ac3f7d2e3cb2a80a578b9b
MD5 046e59a727d483cf7ead0f8791669497
BLAKE2b-256 e92167f35539436a963117a6757fcfccb0ab4560caa7b9186c01c79e441cfdea

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: feyn-3.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c21fc4a6d53d8f68a930042130bf5b94a9ecf2ad73e6c7ddc21193c12168916b
MD5 741ae6aec698e209e6fd6aedce1f2100
BLAKE2b-256 ca56cabc13a6bb961f3cbcdf845853ba57e8e867f79c543b2e7be46425816d97

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2d6eec01df9e3b1d96366d26167daa345d33f6147522095628125f9e42d878bc
MD5 99a10d5b74d4fd0d343f01dbaf8e4580
BLAKE2b-256 0dfd942c677ebe6cdc67ca66f1a43cd1a3afdd50dd3da7c1ec5bd9cb2a2a3798

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d16189de112ccc2157461d0a6c9055907794306c658b90dfbc9e06f43bace8a0
MD5 0df86ddef0e55f784e7659a7e15fa2dd
BLAKE2b-256 d32364729d4d083c9a266f94aa2657d5eb266ad717dc46dd9c8622a74d2629d1

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 38f1e4ae24f3001b7f39c2b0114b1ecf577db3efac525d505e92c25be49ccd05
MD5 cbd0f30daded81cf5d839527eb80127f
BLAKE2b-256 afd772a3b54abf633c7fe287df7fe3a06446848e179ef44261d051dc75945817

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c2f2afdcf4448609bf40504afff345f32c0245b7ad61b94b8c412382f7b26879
MD5 b9ecbc058b60d71d8acd3f184264b770
BLAKE2b-256 ddbd92c06cf1345ae857f982f59cdce25fc43604b851070f901d3bedfa700087

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8fe2a8383f5f9f1a51a1e96f4a9105514232218db792444cb57e99ba6dcacf7b
MD5 4d81ca281fa7e7fe36361e36beaf0b3e
BLAKE2b-256 3aad12dca52ef440ae3e93aab800076317f6a646b1de2a44632f8be42450844c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feyn-3.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f506910696e688baa510f198ae93d6d84cb3193e0281131a5ce9817ec597d4e3
MD5 36239ac7dce8cacee0bb4bbd15354a09
BLAKE2b-256 25f7e0c7d8e5172445b565efb8add0e8482c47f4ff9c38fb11b908b60e56a099

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feyn-3.5.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 05a387e178df6f59160dd2f625d9f8caf565b08da8c23672791cbef9323a104d
MD5 3472664f610973ce92a7ffa7b032684f
BLAKE2b-256 49dc526d2c8096d7f397085868132c5ecfbf525f9ee7cd1c27725be1f6e9353f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 240.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 259570e012faa5963891bcd20b2c7f4fe24611c0b5252b17ece3b4f7bd7efb37
MD5 d5716389379284235865315bce9e34bd
BLAKE2b-256 c4f241de38c98737b95ad4a0792a6e93d0fa2bd3f36af9f84b31f1ebea6cd5c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 236.1 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 09e129bbaddcd55b2cdba4908445b653021729e895c0f52a8afa124bf7395874
MD5 9288c713933b6ad5410b0f88f8fd2f12
BLAKE2b-256 517af48264801ff4ba16a1f8adeac376d2228149b96775145e3f2390d225bb6a

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37ba131784ed408038918f3015eb6b607c0682f12478f614acf0ec48ed4d11f8
MD5 972e8ae9e6b1f1e722f85779353abef8
BLAKE2b-256 a865ad728562391e408239a0cf0752389cbeacf241526befdaea9481408061f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 236.8 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d3c28fcd10a586d4b680e8c49b8eb94fd90daba56bc597f4b04adc25e2a231a
MD5 fb8f4b5558054a9b744b8bb1e82ae35b
BLAKE2b-256 30136bcad0ae839b4c4fd7755ab9c4bbd79b0ac6d8f25bf94bc610e44f1948c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feyn-3.5.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 4460861c56c5f2b8a2fe92911636f5ac4cc3739331e02d7af43f481ac8018e32
MD5 ed778d21260f77ee9df6d94d59959607
BLAKE2b-256 2e42bbab425e253c9af321320f776b82c12f16cf2383ec2d3cb752cededdaca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 240.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 229fb2d8008e95deb1bb3da5bfb84dae72c6bc4aa62ae4b5a407ef81bdf108ac
MD5 61048035336547c823e0546b9a2f26c9
BLAKE2b-256 ebeab126786b8d62c9ca6bdaf51e600cd2ca58aae4dddf57cf65e4509af4787a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 236.0 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 972ea3497911d32fbbfc8d246e3516ae7df228164f81a27e3e8065aa30378dfd
MD5 d008f740d0615d0cb50337e5faa72250
BLAKE2b-256 4e34650a9858ceec4f0e89c069d148e269efabb338ea94115faa4a2aaba9bb13

See more details on using hashes here.

File details

Details for the file feyn-3.5.0-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for feyn-3.5.0-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac94db3bb8347dd9bc6201de74525934a8f9ff3e4b09d03169e65f8ccffa999c
MD5 fdb20c5602df2af709df5d33f3ac6d87
BLAKE2b-256 9c486acc102bd7965da841a43a6f286911b9b7edb07c0fcf1e10bbaf8b8e58c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: feyn-3.5.0-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 236.6 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for feyn-3.5.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c28f6e19f40e1507814da9914461ce1daea2d404c443eea88e0a2b28b97e60ef
MD5 e5ea769eb2af38d9aaeccae05aa81e74
BLAKE2b-256 c784c7b10e44f70ca02b08a9f88cebe10228129be40411d6c80c24552eebd0ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for feyn-3.5.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 dfa2e236fbf9ac71eafea7d83674d6eef3a0156cdd01192124e2fbb253ed3dfb
MD5 24e8f1b983b2824ef63b7ca16d8940d5
BLAKE2b-256 bf4c542e71eb925f8b9c7f2d89f0154283935a0ff9a606d05cd09a9995acc6e6

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