Skip to main content

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

  1. 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 stuned by joining our waitlist!

Links

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


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.3.tar.gz (38.0 kB view details)

Uploaded Source

Built Distribution

futureframe-0.2.3-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file futureframe-0.2.3.tar.gz.

File metadata

  • Download URL: futureframe-0.2.3.tar.gz
  • Upload date:
  • Size: 38.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

Hashes for futureframe-0.2.3.tar.gz
Algorithm Hash digest
SHA256 bd61c1d256d6bf81fa00ef2c770fff212a867bdb62fc2122afcc703f7a7f69ad
MD5 bd70e3b06232cfe101dd32a41b2984d0
BLAKE2b-256 c0ed3f3998196c90ca24e2e5c5bbf6ba3f85838f074be531cd2df299af8b2194

See more details on using hashes here.

File details

Details for the file futureframe-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: futureframe-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 44.7 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

Hashes for futureframe-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2ab8be515442c000831d1d815ba4979ac54ff69a45c91308ccd239957cfb98
MD5 275c6b7c4ddc91cf7f3cadf911044acf
BLAKE2b-256 b2858b1be616a59a06f095dccc6b3df3bebfc94d755d96f0735522d11ed0bc0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page