Skip to main content

LLM-powered feature engineering with scikit-learn API compatibility

Project description

SKFeatureLLM

SKFeatureLLM Logo

SKFeatureLLM is a Python library that brings the power of Large Language Models (LLMs) to feature engineering for tabular data, wrapped in a familiar scikit-learn–style API. The library aims to leverage LLMs' capabilities to automatically generate and implement meaningful features for your machine learning tasks.

🌟 Key Features

  • 🤖 LLM-powered feature engineering
  • 🔌 Model-agnostic: works with any LLM provider (OpenAI, Anthropic, etc.)
  • 🛠 Scikit-learn compatible API
  • 📊 Comprehensive feature evaluation and reporting
  • 🎯 Support for both supervised and unsupervised feature engineering

🛠 Development

  1. Clone the repository
git clone https://github.com/yourusername/skfeaturellm.git
cd skfeaturellm
  1. Install dependencies
poetry install
  1. Activate the virtual environment
poetry env use python3 && poetry install && source $(poetry env info --path)/bin/activate

✅ Running Tests

To run the test suite, ensure pytest is installed and execute:

poetry run pytest

Tests are located in the tests/ directory and cover the core functionality of SKFeatureLLM.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

👤 Author

Example Usage

from skfeaturellm.feature_engineer import LLMFeatureEngineer

# Initialize the feature engineer
llm_feature_engineer = LLMFeatureEngineer()

# Fit and transform the data
llm_feature_engineer.fit(X)
X_transformed = llm_feature_engineer.transform(X)

print(X_transformed)

This snippet demonstrates how to initialize the LLMFeatureEngineer, fit it to a DataFrame X, and transform the data to include new features generated by the LLM.

Project details


Download files

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

Source Distribution

skfeaturellm-0.0.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

skfeaturellm-0.0.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file skfeaturellm-0.0.1.tar.gz.

File metadata

  • Download URL: skfeaturellm-0.0.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for skfeaturellm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2ffacfe94bc0bec7b535c1536620059c833cbc15a3e681ea5ec2671c846ec2c6
MD5 9d2c404a331609e6c9bac7ef6b411b17
BLAKE2b-256 8d78c4dfee8ed82eb505ecd99eef550eec70f14430775d45fb0de9683b73535d

See more details on using hashes here.

Provenance

The following attestation bundles were made for skfeaturellm-0.0.1.tar.gz:

Publisher: ci-cd.yml on RobertoCorti/skfeaturellm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skfeaturellm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: skfeaturellm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for skfeaturellm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 079075a769cd9f768501fdcee2a1273215d5e1a21b5fc70a79cd734d3283a0f6
MD5 c3b1b4513270bde9fcc08559676d18df
BLAKE2b-256 25580a7d4ad91f1a321287be0388ea0af34050e792e60813bc670ef0b32e43b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for skfeaturellm-0.0.1-py3-none-any.whl:

Publisher: ci-cd.yml on RobertoCorti/skfeaturellm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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