fastweb3-0.0.0.dev0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fastweb3-0.0.0.dev0 |
| نام | fastweb3 |
| نسخه کتابخانه | 0.0.0.dev0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hans Park |
| ایمیل نویسنده | rhcproc@gmail.com |
| آدرس صفحه اصلی | https://github.com/rhcproc/fastweb3 |
| آدرس اینترنتی | https://pypi.org/project/fastweb3/ |
| مجوز | MIT |
# fastclf
### Description
fastclf is a python package that allows you to test your scikit-learn models (classifier) with a single line of code. It is designed to be used in Jupyter Notebooks and is inspired by the [fastai](https://github.com/fastai/fastai) library.
### Installation
```bash
pip install fastclf
```
### Usage
```python
from fastclf.modelinfo import classification_info
from sklearn.ensemble import RandomForestClassifier
from sklearn.datasets import load_breast_cancer
from pprint import pprint
import pandas as pd
data = load_breast_cancer()
df = pd.DataFrame(data.data, columns=data.feature_names)
df['target'] = data.target
model = RandomForestClassifier()
(model, info) = classification_info(model, df, 'target')
pprint(info)
# {'f1': 0.972972972972973,
# 'accuracy': 0.9649122807017544,
# 'precision': 0.9722222222222222,
# 'recall': 0.9736842105263158}
```
### Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
### License
[MIT](https://choosealicense.com/licenses/mit/)
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
| - | scikit-learn |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl fastweb3-0.0.0.dev0:
pip install fastweb3-0.0.0.dev0.whl
نصب پکیج tar.gz fastweb3-0.0.0.dev0:
pip install fastweb3-0.0.0.dev0.tar.gz