feyn-3.0.5
توضیحات
Feyn is a symbolic regression package named after Richard Feynman, that uses the QLattice as a simulator to generate models.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | feyn-3.0.5 |
| نام | feyn |
| نسخه کتابخانه | 3.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Abzu |
| ایمیل نویسنده | support@abzu.ai |
| آدرس صفحه اصلی | https://abzu.ai |
| آدرس اینترنتی | https://pypi.org/project/feyn/ |
| مجوز | CC BY-NC-ND 4.0 |
# Feyn
## Quick start
`Feyn` is available as Python3.7+ package [through `pip`](https://pypi.org/project/feyn/). You can install it with the following command:
```bash
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:
```python
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`.
```python
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.
```python
best = models[0]
best.plot(train, test)
best.plot_roc_curve(test)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.22.0 | numpy |
| - | pynacl |
| - | pandas |
| - | lark |
| - | svgwrite |
| >=3.6.0 | matplotlib |
| - | typing-extensions |
| - | scikit-learn |
| - | sympy |
| - | ipython |
| - | ipywidgets |
| >=1.22.0 | numpy |
| - | pynacl |
| - | pandas |
| - | lark |
| - | svgwrite |
| >=3.6.0 | matplotlib |
| - | typing-extensions |
| - | scikit-learn |
| - | sympy |
| - | ipython |
| - | ipywidgets |
| - | statsmodels |
| - | regex |
| - | importlib-metadata |
| - | pytest |
نحوه نصب
نصب پکیج whl feyn-3.0.5:
pip install feyn-3.0.5.whl
نصب پکیج tar.gz feyn-3.0.5:
pip install feyn-3.0.5.tar.gz