feature-encoders-0.2
توضیحات
A library for encoding features and their pairwise interactions.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | feature-encoders-0.2 |
| نام | feature-encoders |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | ['Sotiris Papadelis'] |
| ایمیل نگهدارنده | ['spapadel@gmail.com'] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/hebes-io/feature-encoders |
| آدرس اینترنتی | https://pypi.org/project/feature-encoders/ |
| مجوز | Apache License, Version 2.0 |
[](https://badge.fury.io/py/feature-encoders)
Feature Encoders
================
Functionality
-------------
`feature-encoders` is a library for encoding categorical and numerical features to create features for linear regression models. In particular, it includes functionality for:
1. Applying custom feature generators to a dataset. Users can add a feature generator to the existing ones by declaring a class for the validation of their inputs and a class for their creation.
2. Encoding categorical and numerical features. The categorical encoder provides the option to reduce the cardinality of a categorical feature by lumping together categories for which the corresponding distibution of the target values is similar.
3. Encoding interactions. Interactions are always pairwise and always between encoders (and not features). The supported interactions are between: (a) categorical and categorical encoders, (b) categorical and linear encoders, (c) categorical and spline encoders, (d) linear and linear encoders, and (e) spline and spline encoders.
4. Composing features for linear regression. `feature-encoders` includes a `ModelStructure` class for aggregating feature generators and encoders into main effect and pairwise interaction terms for linear regression models. A `ModelStructure` instance can get information about additional features and encoders either from YAML files or through its API.
How to use feature-encoders
---------------------------
Please see our [API documentation](https://feature-encoders.readthedocs.io/en/latest/feature_encoders.html) for a complete list of available functions and see our informative [tutorials](https://feature-encoders.readthedocs.io/en/latest/tutorials.html) for more comprehensive example use cases.
Python Version
--------------
`feature-encoders` supports Python 3.7+.
License
-------
Copyright 2021 Hebes Intelligence. Released under the terms of the Apache License, Version 2.0.
<br>
<img align="left" width="500" src="https://github.com/hebes-io/feature-encoders/raw/main/EC_support.png">
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0 | omegaconf |
| >=1.3.3 | pandas |
| >=1.8.2 | pydantic |
| >=1.0 | scikit-learn |
| >=1.7 | scipy |
| >=3.9.2 | flake8 |
| >=1.6.0 | flake8-docstrings |
| >=21.7b0 | black |
| >=6.2.5 | pytest |
| >=3.0.0 | Sphinx |
| <0.18 | docutils |
| >=0.8.7 | nbsphinx |
| >=1.0.8 | pylons-sphinx-themes |
| >=0.15.2 | myst-parse |
نحوه نصب
نصب پکیج whl feature-encoders-0.2:
pip install feature-encoders-0.2.whl
نصب پکیج tar.gz feature-encoders-0.2:
pip install feature-encoders-0.2.tar.gz