LLM-powered feature engineering with scikit-learn API compatibility
Project description
SKFeatureLLM
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
- Clone the repository
git clone https://github.com/yourusername/skfeaturellm.git
cd skfeaturellm
- Install dependencies
poetry install
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa0cf5da35df8e3e9ec9db05298ca4cc6fd30d70191b50f16856286d1e90ee75
|
|
| MD5 |
b40c6331692afe169e38d75cac800f57
|
|
| BLAKE2b-256 |
3b6f23946999ac149893102786877c2d07b3d9c1369bdd727ad56e7ebfd29e58
|
Provenance
The following attestation bundles were made for skfeaturellm-0.0.2.tar.gz:
Publisher:
ci-cd.yml on RobertoCorti/skfeaturellm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skfeaturellm-0.0.2.tar.gz -
Subject digest:
aa0cf5da35df8e3e9ec9db05298ca4cc6fd30d70191b50f16856286d1e90ee75 - Sigstore transparency entry: 199642358
- Sigstore integration time:
-
Permalink:
RobertoCorti/skfeaturellm@37b62bc0b01d03b1a0be222dc1c68e507271e46b -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/RobertoCorti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@37b62bc0b01d03b1a0be222dc1c68e507271e46b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0de5578404a40a5f345bc19225877ca6d042c38df8e3376df145986f71ae2b7
|
|
| MD5 |
d1cc4740fe8e803a70899fb5d3e144ad
|
|
| BLAKE2b-256 |
b6b4783a35856d5291a9628af1119bc4cdf50ca7ab758d3d6215c83afa12af85
|
Provenance
The following attestation bundles were made for skfeaturellm-0.0.2-py3-none-any.whl:
Publisher:
ci-cd.yml on RobertoCorti/skfeaturellm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skfeaturellm-0.0.2-py3-none-any.whl -
Subject digest:
f0de5578404a40a5f345bc19225877ca6d042c38df8e3376df145986f71ae2b7 - Sigstore transparency entry: 199642359
- Sigstore integration time:
-
Permalink:
RobertoCorti/skfeaturellm@37b62bc0b01d03b1a0be222dc1c68e507271e46b -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/RobertoCorti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@37b62bc0b01d03b1a0be222dc1c68e507271e46b -
Trigger Event:
push
-
Statement type: