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

Uploaded Source

Built Distribution

futureframe-0.1.9-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: futureframe-0.1.9.tar.gz
  • Upload date:
  • Size: 38.2 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.9.tar.gz
Algorithm Hash digest
SHA256 dc46fffe0fe9d6220bec9f703f5f795b63bd68e7cad80a4ca143da9b4e9b3b8f
MD5 3e7e613ce85f555622ba8385b7286e16
BLAKE2b-256 5fd22499daa8fba6f91283959ef2c6c3da03897adf256b91d26039009c91488f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: futureframe-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 43.8 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9af9511411b7cac088123995abb805ef7f1a530ed004d613d76347d59a87b8d4
MD5 55ee48142ded036d8c4072801b1a6db2
BLAKE2b-256 53d5ac36a2644282e971f0c37e732c0dbbff7c5b8b6a441ca3d6807fe933f1fb

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