Giter Club home page Giter Club logo

tabred's Introduction

TabReD: A Benchmark of Tabular Machine Learning in-the-Wild

Suplementary code for the submission.

Despite the recent advances in tabular machine learning (ML) research reported on existing academic benchmarks, the question of methods transferability to the real-world ML applications remains underexplored. One major obstacle is the lack of representative tabular ML application datasets, which are often proprietary and unavailable to the academic community. To facilitate transferability of tabular ML research and bridge the gap between academic benchmarks and real-world ML applications, we introduce the TabReD benchmark -- a collection of eight industrial-grade tabular datasets covering a wide range of domains from finance to food delivery services. All datasets in the TabReD benchmark possess a gradual temporal shift between the train/test subsets, closer resembling common model deployment scenarios. Furthermore, we make sure that all datasets in the benchmark are inherently tabular and do not contain data leakage issues -- which is not always the case for the existing benchmarks. We assess the performance of state-of-the-art tabular models on the new benchmark and observe that general progress in the field of tabular DL transfers to the more realistic settings introduced with TabReD, with exceptions in recent retrieval and attention-based tabular models, that prove to be less beneficial than simpler MLP-based solutions. We also show that accounting for temporal shift in evaluation leads to differences in ranking and relative performance of methods, compared to evaluation on random data splits.

Repository Structure

  • ./preprocessing directory contains preprocessing scripts for all the datasets
  • ./exp all exeperiment logs are in this folder
  • ./bin scripts for launching the experiments
  • ./lib library, dataloading, utilities

Environment

There are two environments: one for local development on machines without gpus - tabred-env-local.yaml, another for the machines with GPUs tabred-env.yaml.

To create the environment with all the dependencies run micromamba create -f with the env file of choice (for example micromamba create -f tabred-env.yaml on a server with GPUs).

Example

To reproduce results for the MLP on the maps-routing dataset.

  1. Create an environment
  2. Create dataset (run preprocessing script)
  3. Run export CUDA_VISIBLE_DEVICES=0 (or whatever device you like)
  4. Run python bin/go.py exp/mlp/maps-routing/tuning.toml --force (force, deletes the existing outputs)

Dataset Details

There is also a datasheet for the benchmark.

tabred's People

Contributors

puhsu avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.