Feyn is the high level Python interface to interact with an Abzu QLattice.
Project description
Feyn
Quick start
Feyn
is available as Python3.6+ 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.
Connect to a QLattice
If you're using the community edition of a QLattice
then you can get connected to it by:
import feyn
ql = feyn.connect_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for feyn-2.1.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0e3ee767cc31a67b424676d6c7e209514716272b47bc101199de8625201aed |
|
MD5 | ecf2ffa06166094fe5d2158e29aca59d |
|
BLAKE2b-256 | 523cf5eb2d4730923faeb274eafa667164963afd745dc6d650b668a6302d6ca7 |
Hashes for feyn-2.1.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_24_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7851880b08009d293a771ff2136debfbdadfbc7b603bfb03377e936a21fe7528 |
|
MD5 | 9e3f24be50cec320c26632a51a8ed1f2 |
|
BLAKE2b-256 | 4ab796174d4ccb5452bd64ca0859fa70ff11906651022d1442bb9b54dcceed06 |
Hashes for feyn-2.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f84535e177d0b66f1d88dbe09ea746e2d5147c878fa7788bd0fb500d00446552 |
|
MD5 | 498a0b64c4f8e27c1ac026aab8a9fdf6 |
|
BLAKE2b-256 | c117bceef0f51a77f4f19e37112af3f70b6d3f08ad6ee0af57f3f9a7b8dd39f3 |
Hashes for feyn-2.1.4-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9668a2ee0fdd00a881fc1b13909939be2380b0373ce2fd5498a95f158b3d95e |
|
MD5 | 6a4cc79cdc0aade835e420866213c9c1 |
|
BLAKE2b-256 | 4b8aaf04b71d1f78d79f1572b51673d0c39a8f2d87e8434835828449b9b31d44 |
Hashes for feyn-2.1.4-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ee647133ad095c0b041f09c2dfa6af4146c7b2842db5e0011ccfcce362fc39 |
|
MD5 | 63f7837f468e6550ae5ec9deddfc1131 |
|
BLAKE2b-256 | 6f373e1d51dc6fda9e28c7c1bb1716084e335b4a8ef8deb0dbfdba365dbc9ea2 |
Hashes for feyn-2.1.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af51908979442e9467ae0cbbee0576eca7bc861b0ff84a1f5d504f265f0896d |
|
MD5 | 8515937977f42eb4f80e4c0c727f9e21 |
|
BLAKE2b-256 | fe9c6f9c0e84f146489f116ab18d2dd8edd0adeb48698b420858dfbcfda59455 |
Hashes for feyn-2.1.4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1761beee109354418b1f8bf49fbbc6fae422b70bf7f8cb5b56692688dc4d231b |
|
MD5 | 8daa995dbd9cc3b98da6249173ba2c32 |
|
BLAKE2b-256 | 40525f0368a5c0e1b53afcb6af62dc5fe707138778af9b8f035efe1f660030ef |
Hashes for feyn-2.1.4-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4604041963c19d3dbcd63c6ead84852d800450e8e362ee7b288fb3048dda4227 |
|
MD5 | eca421cbd5308bc499f69b4a4dc1d5c2 |
|
BLAKE2b-256 | dd67480f745b765464956b96e62eb90a58da5384e57ab22dfbb5fa03e972ba8d |
Hashes for feyn-2.1.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e3034c0ff152d90d989b831e20feeb7e495a4d6dc1253f77082145e53de324 |
|
MD5 | 41701997a33cd8cb047e31d2ec96fd21 |
|
BLAKE2b-256 | 4271dd4a3a5d1d265322f2d4ad1f08d2e00ba3bf68e2cf5a761ae1f386b706ee |
Hashes for feyn-2.1.4-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abe3cd1e00f26da635fa1ee0614eae44715ee0b2293c249a97e798fa71e1a81f |
|
MD5 | 1d888f517bada6a53c4aab6ab3246c13 |
|
BLAKE2b-256 | 9843a40545ee80c09d01b4d5f4f9d695164130b06e8597b6505d81e2c1a37352 |
Hashes for feyn-2.1.4-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83f6baab9e1c068bbf6541df64954de5d0c2a65625aac02dd8d0c906571541d |
|
MD5 | 89af995adf44e7eaac7861567696a3f3 |
|
BLAKE2b-256 | ddabb5dbcfef0d7eeef043a0a5476ea4b819dcb5bcd5fba8d7139e1c09f8a116 |
Hashes for feyn-2.1.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95765bd83457b2cc1741ef20c626b0cd7aab1a861c1d22a89aa9764b3ec7ae6 |
|
MD5 | 37f6e5941ccd429a023915c9c608c684 |
|
BLAKE2b-256 | 15fb59e20ad66c1fbc169e8fc8f17536dd7efc4f21e53137f7c3841bb1216bac |
Hashes for feyn-2.1.4-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6fbd9c1b511010b770772a647f2762c68e8f3f99b6bd987fe01263b354b64c1 |
|
MD5 | f657d5fb8afdeadc1b6f56eb777ecd65 |
|
BLAKE2b-256 | 7039bce5fbe56c4027f211832cb7b40930cb948a06542909fa746ff6341d3b55 |
Hashes for feyn-2.1.4-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b476e379d416a479388c60756a03a9c8bd045c56ea45fb8140a28bfaa8f798bc |
|
MD5 | aff39b53c09dad8b6b9fd0d896a4f073 |
|
BLAKE2b-256 | 7c62f2ac5898dc9551ebddb8e30b26f6a479ba131a56b8827346bf4aaaa8d989 |
Hashes for feyn-2.1.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1296eae03f33b1839ac92f44515c25f55cbca28300501fde90a644bdf19d5942 |
|
MD5 | acc0bcbb41048254273cd77fc89905b2 |
|
BLAKE2b-256 | 2778c5d588ee8fd092ab5e26ca774dee55b103c50898eac617248fff4ef40a81 |
Hashes for feyn-2.1.4-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66587480254d80e31c9cc9a92326309839bde694303006c13039ee050d91edc9 |
|
MD5 | 6130f9d12344b7782573197afe34fed7 |
|
BLAKE2b-256 | 3496330a22c4084bf8dbb922c5616e6c20ca736603a77683b2aeda9a117dab7c |
Hashes for feyn-2.1.4-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d8112ce00f75cad5fe9b84503639f57b31e27599054ae0e42fcbe792c6dc50 |
|
MD5 | 10146bcefa5707e492c55856f2528f8c |
|
BLAKE2b-256 | dfd1d7447ad8b0599eae3277b1be16ae85c48b8bfa90aaef81c6449d5880bce7 |
Hashes for feyn-2.1.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d2fa31f30b965a46371ce2ede166dfe50e656f5d865c526785bc650a3a83bb |
|
MD5 | 5aefe04159c559c58008b1922b88c80a |
|
BLAKE2b-256 | 92c9cc4cba9fb2c6e275605d207be04bc9c2c5f997fb9237f9053f8c57918f7e |
Hashes for feyn-2.1.4-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8178081ec2993e95f8232d934577e6ae27aea257e37670215d78ae0fc457a6ee |
|
MD5 | fb44cd9d1e15c1722cb1cf558ccdcbec |
|
BLAKE2b-256 | db30e9dd45ccf3aa59d66e09be432186424c227a43183a9a97cd3757532c9638 |
Hashes for feyn-2.1.4-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f4faa2b3afb81977200f4f08a6900bab338e0ff9436465b55c5906f3c54cfe |
|
MD5 | 4b42709387ef8e57af11afdc2bb336e4 |
|
BLAKE2b-256 | 4f48531c8216e88bca33ab366c8d7216943a9f65de8063bca1952dfd1cb0f38a |
Hashes for feyn-2.1.4-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef5424a8ffe6bc3f90b5b90dcb87d7447e4eb8d6c0dbdf7e7ceaf8f12028fe01 |
|
MD5 | cb3fea579f6e3fb63c0ee8f926ff7661 |
|
BLAKE2b-256 | bc71bf92c136a86dbeae8ef627eb96f578013afa58a7a246f80ddac747b19bed |
Hashes for feyn-2.1.4-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72bb9ac9f8e04ff1c32d2f74ac5508a113ca7e7dadfd030dbe4e760173951c4 |
|
MD5 | b163c23c6edfa64e7c7a9a5f3104c24a |
|
BLAKE2b-256 | 2001b57e5ac853ab46dfd9b685d2bc94b6a60d61e8e5aeb57437d66524be62c6 |