Giter VIP home page Giter VIP logo

scarce's Introduction

SCARCE

This repository is the official implementation of the paper "Learning with Complementary Labels Revisited: The Selected-Completely-at-Random Setting Is More Practical" and technical details of this approach can be found in the paper.

Requirements:

  • Python 3.6.13
  • numpy 1.19.2
  • Pytorch 1.7.1
  • torchvision 0.8.2
  • pandas 1.1.5
  • scipy 1.5.4

Arguments:

  • lr: learning rate
  • bs: training batch size
  • ds: dataset
  • me: method name, i.e. SCARCE
  • mo: model
  • wd: weight decay
  • gpu: the gpu index
  • ep: training epoch number
  • bs: training batch size
  • op: optimizer
  • gen: generation process of complementary labels
  • run_times: random running times

Demo:

python main.py -ds mnist -gen random -me SCARCE -mo mlp -op adam -lr 1e-3 -wd 1e-5 -bs 256 -ep 200 -seed 0 -gpu 0

Citation

@inproceedings{wang2024learning,
    author = {Wang, Wei and Ishida, Takashi and Zhang, Yu-Jie and Niu, Gang and Sugiyama, Masashi},
    title = {Learning with complementary labels revisited: The selected-completely-at-random setting is more practical},
    booktitle = {Proceedings of the 41st International Conference on Machine Learning},
    year = {2024}
}

scarce's People

Contributors

wwangwitsel avatar

Stargazers

Wei Tang avatar Zehui Liao avatar Deng-Bao Wang avatar  avatar Andrew Chan avatar Takashi Ishida avatar  avatar Sapere Aude avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

blue0rigin

scarce's Issues

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.