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.0.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d809cacf21c44ebd3aab6814c9cbbc45df437eeb6fa8ac23b9651cbd160e91e |
|
MD5 | 581d45094f2a79b2e7cad515898ebdf4 |
|
BLAKE2b-256 | 825fa3145eb9f6b73f5d4b821c17c33db1bdc8ffa69550eb3a85c33d3ba2f12b |
Hashes for feyn-2.0.7-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67353858360ac99a3846f39bfa020fa0418f12f6a7699df1e2757011df57833d |
|
MD5 | 1597636762fd090cdaa4073e8f63d320 |
|
BLAKE2b-256 | 1a73d7dfe95b8257775c50eb59cabbe6e990306c40a75c4808cb18712897a138 |
Hashes for feyn-2.0.7-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bddad339bb47e32240658950266e09817e7ebfc973ddb430096d9cfc1edf33a2 |
|
MD5 | e89fde78d1da1f01fd3a81a5171b3dec |
|
BLAKE2b-256 | 548f16859ab5f45a13e0b070a492181a22ac144481fc84d0ca2023afa6eb0cc7 |
Hashes for feyn-2.0.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f99c93ea78e4e2b05b0a8d856e714b31eae2c92f7d63eff6e856682478ef61d7 |
|
MD5 | 18da2102422cc1a56e0453c670137bee |
|
BLAKE2b-256 | d4ba1e2c5b50417bf42e4c0a269795b03a20b6c71fff2efe383752f112ca6df3 |
Hashes for feyn-2.0.7-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85de45b76469a8c054dd2d53729e4b2526710e279099b90d92566b5e55f34294 |
|
MD5 | 2da0c2f229e66a8af134a6f0865bb3fc |
|
BLAKE2b-256 | c1a0b346d2d39a4392a6e25615f4983e3f21f01f1d930b81f7498a0c565d7b7f |
Hashes for feyn-2.0.7-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce43e3b16d82c8d70c459f51efc6c28df6458a91711791e8fce697eb59ed128 |
|
MD5 | 606982badb1f65f4839aa975561f8b55 |
|
BLAKE2b-256 | 70601adeb6f419e849fa75b3c2947fd287b607da5e1d9feaea59cb75993d57a5 |
Hashes for feyn-2.0.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb8f9d2177339468ab722624b50f305a83927ced709e0a34b872491925f453b |
|
MD5 | a2af6a49aff39fbf6060102e04af8c45 |
|
BLAKE2b-256 | ab92ef9a719b6a97692792b4eb29406e3074435320f558e746952e43b82725cf |
Hashes for feyn-2.0.7-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd4d8bdb05b409f144c49cebf13b591554392dc28a0567f2f6aded388946b8b |
|
MD5 | 9be6b406a0e33941709f224471320aff |
|
BLAKE2b-256 | 64803a8b297291bbf6be31277c9b7e3803f8edc7dc28ba88ed0ea1d812282b02 |
Hashes for feyn-2.0.7-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a760e9b86f82a9e18350381f2514816ce609a2fbd066ee76f5d2ec54761189d |
|
MD5 | bc93193e2168f99502c53aabf0c7f249 |
|
BLAKE2b-256 | 96643ad24406c1fed7a19b4c88851a481f87de3250868289dd14293b95d4803d |
Hashes for feyn-2.0.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74ef16a5f230f682ff09ea60f13e50a5e78ac18eeeb70625e6dcd6308d844586 |
|
MD5 | 4a9a632eb02a7820a7122a98b94d47a3 |
|
BLAKE2b-256 | c5690624296681a93abf5831ab31219c472d5f43fd698b94026b45acb6121373 |
Hashes for feyn-2.0.7-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4969ea10e1f62483b869c37cb6a0540ac7a8c3f7b37dc1f3ea46964c0f7e0e1 |
|
MD5 | 78eb970eac5d54e103d03255258f3d70 |
|
BLAKE2b-256 | 1d50f56b8a73e838e653939e2ef44304d0bce9a5feef14be527be19c6320fe41 |
Hashes for feyn-2.0.7-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd8ca4b012a851cb0238d0679c93413c44960648997d169b7572b36e7e85e32e |
|
MD5 | 5c0761418544a6f17ba883e22630ece2 |
|
BLAKE2b-256 | cbc1f2a0c83cf1c06d61eefd561344c56e51bf29a55aef3e35e45e46465da52e |
Hashes for feyn-2.0.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f175384d1135e802b5a85faf3af4f098eac4b0d93b37da7b495e9825c79572 |
|
MD5 | ed0d481b7a55eca9da03b06a25e5206c |
|
BLAKE2b-256 | b8262a56939f4bdf1e2f7f4b9b782144c22dad289bf0000c3fa468b19f980aa6 |
Hashes for feyn-2.0.7-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e6ae8b7fad0d7399b9e736ed9def9a9137769e584f0b9c7217806c36baf9394 |
|
MD5 | 14d8fdc81ff51b1530b6a64c069a1e55 |
|
BLAKE2b-256 | 380c33273ec5b478eed9093fae9d075fd30b961a9e713074c9ea321c830c822e |
Hashes for feyn-2.0.7-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfdde2209395af58c0c00323b024153dfe4f9abdf934570a11be54a11a45d178 |
|
MD5 | 399e60e297424d5754e559cb43c45777 |
|
BLAKE2b-256 | 24c812fdf25aa91e1e6e47cfb5b9098560e537b1c097c187d8c4d097cc22d688 |
Hashes for feyn-2.0.7-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb3738875035d6c7f881cd9e08966dd0f10d4b27365614e3a7e1a1bcaa7d1e38 |
|
MD5 | 23d75a5ea169a3913e875ca7f722122a |
|
BLAKE2b-256 | a7d16a944ef8509d41775100852d4a70f8d67837a241e9787ed0810e2fa528fe |
Hashes for feyn-2.0.7-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a9eb2c2cea5e2f114073e6315656badfb2163a27515e60c242435ec1572e198 |
|
MD5 | 59d2229e0ce48f4a5c94b25d6fa1f906 |
|
BLAKE2b-256 | 88e81d019bafef56c203016893e99530ac35f598798f43fe4a37c5a47d1f5ab8 |
Hashes for feyn-2.0.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 374e3edf557278fcbbda4a824c3e26248a3732b32e2da95a87499160ab6937d3 |
|
MD5 | 665432a47166aae471a39fe8dd63a9f9 |
|
BLAKE2b-256 | ac013b493d3e49e19784b9ff128a7c3a4d21b92f1f1d05538678bccca731c7ce |
Hashes for feyn-2.0.7-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d1fdaed019c7bc44db75f8bb8e1c05df473681a855c49868b570e880fa550c |
|
MD5 | cdb0cf299a0829eefa76afb0fc925e30 |
|
BLAKE2b-256 | 27a464e07e8f1e6f777e7393d859d8da9f7d6e84bff9239f2fd8b2e9115e3b41 |
Hashes for feyn-2.0.7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf6f3bc4aaa668606e1bfcb6fff3d146c6ea76af01d11e8f96d59f348d91774 |
|
MD5 | 63ccbd6e601d1ac07015afa88f86311b |
|
BLAKE2b-256 | 8af8699636365a1f7bb174410fc90c9e1cb04bbb2945693813989a2b4c4e3e10 |
Hashes for feyn-2.0.7-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c094c606caabfeee858f5ad5dc19a50dca36ffeb6920e649fde73d87cf5e18d |
|
MD5 | 34770f7f9eef264536db14719aea3267 |
|
BLAKE2b-256 | 3ec4431f9c935cf0b4abf0624a5aa49fb9a22c04c3e6ee9c52e0e0fc022dc32a |
Hashes for feyn-2.0.7-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f04e79ca0b6d9ab522e36290053f0f19d6bbb42bdc7172f037ea4e052bfd526 |
|
MD5 | 2e9d1a26047abb4eabf3d5f862878343 |
|
BLAKE2b-256 | 3177e666d8f5b92af973f3d4de9191c3bd9e0f656323c8949acec7ccbca0cd12 |