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 = "https://raw.githubusercontent.com/futureframeai/futureframe/main/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)
# Fine-tune a pre-trained classifier with Future Frame
model = ff.models.cm2.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 tuned by joining our waitlist!
Links
- Future Frame Official Website
- Future Frame API Reference
futureframePyPI PagefutureframeGitHub RepositoryfutureframeDocumentation
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.
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 futureframe-0.2.5.tar.gz.
File metadata
- Download URL: futureframe-0.2.5.tar.gz
- Upload date:
- Size: 37.7 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 |
98687c37e6cf31d3cb602b9ca1f6f4c41fc2ca7d9fdc5a09e7e0b068b0af94d1
|
|
| MD5 |
e9ce10ddffe463e8785217f93f36816e
|
|
| BLAKE2b-256 |
dfdad94f2f41d8ef1e14e4114d89e0290058a07f1d308c2ff50e592d51dbfdfe
|
File details
Details for the file futureframe-0.2.5-py3-none-any.whl.
File metadata
- Download URL: futureframe-0.2.5-py3-none-any.whl
- Upload date:
- Size: 44.1 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 |
ddbc3dba2961c997af0a6d9e81fe05e1446f5fab7aea0bc8ad8c3478d18f7a26
|
|
| MD5 |
bef35e2951d5a3439ab5e8016fa7d40c
|
|
| BLAKE2b-256 |
eb69579eb3a17bd4092e96a2a68f3eaf30e1f693984977cb1d36ca8ed3020c28
|