Skip to main content

Automated Feature Engineering framework

Project description

AutoFEAT

Framework for automated feature generation based on statistics and AI tools

PyPI version Python 3.8+

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autofe_grass-0.0.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file autofe_grass-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: autofe_grass-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for autofe_grass-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7920803c16d4d3da13ba392c9f3fbc980db5508192d1dc73d4ed274abad4afd5
MD5 e9a5ec65b0da9a78c5f9cbeed2f740ed
BLAKE2b-256 7a0b3464df03d0dc6da8a827312758c2b1407826b57520f5e8c833e95d4d74c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page