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.2.tar.gz (11.3 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.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skfeaturellm-0.0.2.tar.gz
  • Upload date:
  • Size: 11.3 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.2.tar.gz
Algorithm Hash digest
SHA256 aa0cf5da35df8e3e9ec9db05298ca4cc6fd30d70191b50f16856286d1e90ee75
MD5 b40c6331692afe169e38d75cac800f57
BLAKE2b-256 3b6f23946999ac149893102786877c2d07b3d9c1369bdd727ad56e7ebfd29e58

See more details on using hashes here.

Provenance

The following attestation bundles were made for skfeaturellm-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: skfeaturellm-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0de5578404a40a5f345bc19225877ca6d042c38df8e3376df145986f71ae2b7
MD5 d1cc4740fe8e803a70899fb5d3e144ad
BLAKE2b-256 b6b4783a35856d5291a9628af1119bc4cdf50ca7ab758d3d6215c83afa12af85

See more details on using hashes here.

Provenance

The following attestation bundles were made for skfeaturellm-0.0.2-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