Accelerate your data science workflow from months to days with foundation models for tabular data.
Project description
💠 Future Frame
Empowering Data Scientists with Foundation Models for Tabular data.
- This Python package allows you to interact with pre-trained foundation models for tabular data.
- Easily fine-tune them on your classification and regression use cases in a single line of code.
- Interested in what we're building? Join our waitlist!
Installation
- Install Future Frame with
pip
– more details on our PyPI page.
pip install futureframe
Quick Start
Use Future Frame to fine-tune a pre-trained foundation model on a classification task.
# Import standard libraries
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import roc_auc_score
# Import Future Frame
import futureframe as ff
# Import data
dataset_name = "tests/data/churn.csv"
target_variable = "Churn"
df = pd.read_csv(dataset_name)
# Split data
X, y = df.drop(columns=[target_variable]), df[target_variable]
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=42)
# Fine-tune a pre-trained classifier with Future Frame
model = ff.models.CM2Classifier()
model.finetune(X_train, y_train)
# Make predictions with Future Frame
y_pred = model.predict(X_test)
# Evaluate your model
auc = roc_auc_score(y_test, y_pred)
print(f"AUC: {auc:0.2f}")
Models
Model Name | Paper Title | Paper | GitHub |
---|---|---|---|
CM2 | Towards Cross-Table Masked Pretraining for Web Data Mining | Ye et al., 2024 | Link |
More foundation models will be integrated into the library soon. Stay stuned by joining our waitlist!
Links
- Future Frame Official Website
- Future Frame API Reference
futureframe
PyPI Pagefutureframe
GitHub Repositoryfutureframe
Documentation
Contributing
- We are currently under heavy development.
- If you'd like to contribute, please send us an email at eduardo(at)futureframe.ai.
- To report a bug, please write an issue.
Foundation models for tabular data can AI performance for Healthcare, Education, Telecommunications, Energy, and Finance industries.
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
futureframe-0.2.0.tar.gz
(34.0 kB
view details)
Built Distribution
File details
Details for the file futureframe-0.2.0.tar.gz
.
File metadata
- Download URL: futureframe-0.2.0.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7c4dd3f31b66ba123a8a28333c736d13bb5caca9028b063dd0937295ae9896a |
|
MD5 | a0cf80a591291904a3e0be839dd03b80 |
|
BLAKE2b-256 | ccff1d36c09d2bf86dfdf2766ac621fb22f13bd569629e869cb671c2cad69b46 |
File details
Details for the file futureframe-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: futureframe-0.2.0-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.0 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee13b4dde8263d50fbc5ddc3201bc0c8a9871ecd439fd0d5aa31a4c044871d5 |
|
MD5 | caf9f7b1aacb74223c9fea29c06c1e81 |
|
BLAKE2b-256 | 36f68b97400c103c67ef2c6088aa546311387426367767695cf33d64a2da5b84 |