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

Uploaded Python 3

File details

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

File metadata

  • Download URL: skfeaturellm-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6623a16a9b4d728e04c8ee4cde0c93e970bc54c36ac10a1dcfffaa2cdbeda8dc
MD5 8fc06a80bcb2a38e155665919b0c5f3b
BLAKE2b-256 1d868e802c36c21988a39c845201a3d2c2941028dabaedc25b6567ceafe8c06d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: skfeaturellm-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8887856a36fb88a96129fcf7f2e175955c55ac293510cc59d36c29fe47c73c
MD5 acfd975d3d8a8de4f08f65846182587d
BLAKE2b-256 f8bbc0732ea95a0915babd52eec4aef8f5289251d532ac46e8a984010d759743

See more details on using hashes here.

Provenance

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