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

Uploaded Source

Built Distribution

futureframe-0.1.10-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for futureframe-0.1.10.tar.gz
Algorithm Hash digest
SHA256 d7a57ee320d72bfe52714fe3011351e74d0eb1035d46990544471ead0c14d706
MD5 122129dfdbbaa051d85c0cdc2fc53555
BLAKE2b-256 af85f02f677ca0530722c494a87461708db8ab837d9fb9568b3247be04d3c562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futureframe-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 55.6 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.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae1404a2d060d3067ac1430f483bb3718279da3eca09569319fde30113f9afa
MD5 5675a73e89242eba4cfb1528f0aac8d4
BLAKE2b-256 669bd3dedb471f3d343b62eb6a201188737857028d38918c538981db8f8cf32d

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