AutoFEAT
Framework for automated feature generation based on statistics and AI tools
Installation
pip install autofe-grass
Quick Start
import pandas as pd
from autofe import GroupAggregationFeatures, StatisticalFeatureGenerator
# Load your data
df = pd.read_csv('your_data.csv')
X_train, X_test, y_train, y_test = train_test_split(X, y)
# Generate group-based features
group_feats1 = GroupAggregationFeatures(
numeric_cols=numeric_cols,
group_cols=group_cols,
aggs=['mean', 'std' ...],
add_deviations=True,
add_rank=False
)
X_train_grouped = group_features.fit_transform(X_train)
# Generate statistical features
stat_gen = StatisticalFeatureGenerator(
numeric_cols=numeric_cols,
unary=['log', 'sqrt'],
pairwise=['ratio', 'diff'],
max_features=20,
corr_th=0.95,
min_var=1e-5
)
X_train_stats = stat_features.fit_transform(X_train_grouped, y_train)
Key Features
- Group Aggregations - Mean, std, min, max, sum, count by categories
- Statistical Transforms - Log, sqrt, ratio, difference between features
- Sklearn-Compatible - Works with sklearn Pipeline
🔧 Requirements
- Python >= 3.8
- numpy >= 1.19.0
- pandas >= 1.2.0
- scikit-learn >= 0.24.0
Metadata
Release files for autofe-grass 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autofe_grass-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / autofe_grass-0.0.4-py3-none-any.whl
| Download URL | autofe_grass-0.0.4-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7920803c16d4d3da13ba392c9f3fbc980db5508192d1dc73d4ed274abad4afd5
|
|
BLAKE2b-256 checksum How to use checksums |
7a0b3464df03d0dc6da8a827312758c2b1407826b57520f5e8c833e95d4d74c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for autofe-grass 0.0.4
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.