Skip to main content

Accelerate your data science workflow from months to days with foundation models for tabular data.

Project description

💠 Future Frame

Accelerate your data science workflow from months to days with foundation models for tabular data

Installation

pip install futureframe

Quick-start guide

import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.metrics import roc_auc_score

import futureframe as ff

dataset_name = "tests/data/churn.csv"
target_variable = "Churn"
df = pd.read_csv(dataset_name)

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)

##############
# Future Frame
##############
model = ff.models.CM2Classifier()
model.finetune(X_train, y_train)

y_pred = model.predict(X_test)
##############

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 to come!

Important links

Contributing

We are currently under heavy development. If you want to contribute, please send us an email at eduardo(at)futureframe.ai.

If you find any bugs, please write us 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.1.4.tar.gz (29.4 kB view hashes)

Uploaded Source

Built Distribution

futureframe-0.1.4-py3-none-any.whl (32.5 kB view hashes)

Uploaded Python 3

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