Code Monkey home page Code Monkey logo

tclp's Introduction

This github is the implementation of ICLR'22 paper, named as Coherence-based Label Propagation over Time Series for Accelerated Active Learning. Please follow the instructions to reproduce our work.

Download python packages in requirements.txt

pip install -r requirements.txt

Download datasets

Download I3D feature data of 50salads and GTEA at link and locate the contents at the ./datasets/DATASET_NAME. The link is from ms-tcn, the repository for the paper "Y. Abu Farha and J. Gall. MS-TCN: Multi-Stage Temporal Convolutional Network for Action Segmentation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019." For HAPT and mHealth dataset, download HAPT and mHealth and locate the contents at the ./datasets/DATASET_NAME

How to run

At current directory which has all source codes, run main.py with the parameters as follows.

- dataset: {50salads, GTEA, mHealth, HAPT} designates which dataset to use.
- seed: {0, 1, 2, 3, 4} is the seed for 5-fold cross validation.
- gpu: {0, 1, 2, ...} is an integer for gpu id
- lp: {platprob, repr, prob, zero} indicates label propagation method to use, representing {TCLP, ESP, PTP, NOP} in the paper, respectively.
- al: {conf, entropy, margin, core, badge, utility}	shows active learning to use, representing {CONF, ENTROPY, MARG, CS, BADGE, UTILITY} in the paper, respectively.
- no_plat_reg: {0, 1}	decides whether or not to use width regularization or not. 1 means removing width regularization.
- temp: [1, infinity] is the parameter T for temperature scaling. T=1 means no temperature scaling.

Here's the example running code.

python3 main.py --dataset HAPT --gpu 0 --seed 0 --lp platprob --al random --no_plat_reg 1 --temp 2.0
  1. Classification accuracy at each active learning round is saved in metadata folder as .npy format.

Citation

Please use the following form to cite our paper.

@inproceedings{
shin2022coherencebased,
title={Coherence-based Label Propagation over Time Series for Accelerated Active Learning},
author={Yooju Shin and Susik Yoon and Sundong Kim and Hwanjun Song and Jae-Gil Lee and Byung Suk Lee},
booktitle={International Conference on Learning Representations},
year={2022},
url={https://openreview.net/forum?id=gjNcH0hj0LM}
}

tclp's People

Contributors

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