Giter Club home page Giter Club logo

triage's Introduction

TRIAGE: Characterizing and auditing training data for improved regression

arXiv License: MIT

image

This repository contains the implementation of TRIAGE, a "Data-Centric AI" framework for data characterization tailored for regression.

TRIAGE can be used to characterize data using any machine learning regressor trained iteratively. We provide an interface for using TRIAGE, which can be used with Pytorch models, as well as, SKLearn style API models including XGBoost, LightGBM and CatBoost.

The utility of TRIAGE extends to a variety of use-cases.

For more details, please read our NeurIPS 2023 paper: TRIAGE: Characterizing and auditing training data for improved regression.


Installation

  1. Clone the repository
  2. Create a new conda environment with Python 3.8. e.g:
    conda create --name triage_env python=3.8
  1. With the venv activated, run the following command from the repository directory:
  • Minimum requirements to run TRIAGE on your own data
pip install -r requirements-min.txt

or for all

pip install -r requirements.txt
  1. Link the venv to the kernel:
 python -m ipykernel install --user --name=triage_env

Getting started

TRIAGE on your own data with 2-lines of code added to your training loops!

To get started with TRIAGE on your own data, we provide tutorial notebooks to illustrate the usage of TRIAGE. Examples are provided for both Pytorch and SKLearn (XGBoost, Catboost, LightGBM) models/regressors.

These notebooks can be found in the /tutorials folder. We use an open-source dataset from OpenML as an example dataset in the tutorials for ease of accessbility.

  1. tutorial_torch.ipynb
  • Example integration of TRIAGE with Pytorch models
  1. tutorial_sklearn.ipynb
  • Example integration of TRIAGE with SKLearn style models trained iteratively (e.g. XGBoost, LigthGBM, CatBoost)
  1. tutorial_torch_dataloader.ipynb
  • Example integration of TRIAGE with Pytorch models using the dataloader of Pytorch

Use-cases

We highlight different use-cases of TRIAGE in notebooks which can be found in the /use_cases folder.


Citing

If you use this code, please cite the associated paper:

@inproceedings
{seedat2023triage,
title={TRIAGE: Characterizing and auditing training data for improved regression},
author={Seedat, Nabeel and Crabbe, Jonathan and Qian, Zhaozhi and van der Schaar, Mihaela},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023}
}

triage's People

Contributors

robsdavis avatar seedatnabeel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.