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:
-
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.
-
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.
-
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.
-
Composing features for linear regression.
feature-encodersincludes aModelStructureclass for aggregating feature generators and encoders into main effect and pairwise interaction terms for linear regression models. AModelStructureinstance 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 for a complete list of available functions and see our informative tutorials 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.
Metadata
Release files for feature-encoders 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| feature-encoders-0.2.tar.gz | 43.8 kB | Without provenance | Details for feature-encoders-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| feature_encoders-0.2-py3-none-any.whl | Python 3 | none | any | Details for feature_encoders-0.2-py3-none-any.whl |
Total release size: 84.8 kB
Release files / feature-encoders-0.2.tar.gz
| Download URL | feature-encoders-0.2.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62a52d547a98dd0691af5d3f3f27e799b57f80c1c3f18b35609829380742e454
|
|
BLAKE2b-256 checksum How to use checksums |
bbe6deb0028a93e68d5e9cc17f7ad78cf6cfdb92a4ae5d2b79c24da77da68e2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / feature_encoders-0.2-py3-none-any.whl
| Download URL | feature_encoders-0.2-py3-none-any.whl |
|---|---|
| Size | 41.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
750c5009800073690abe5c978e82edeb3c3a58c51d7f0027eb6ffd911932ffed
|
|
BLAKE2b-256 checksum How to use checksums |
d6b3ddb7ac13ef034719bc469d9f8fb9910e08ab02d68aaa8bd08cb9845bf441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Security for feature-encoders 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.