GithubHelp home page GithubHelp logo

ej0cl6 / csmcal Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 5.0 115 KB

Cost-Sensitive Multi-Class Active Learning

Python 14.09% Logos 84.94% Yacc 0.97%
multiclass-classification active-learning cost-sensitive

csmcal's Introduction

Cost-Sensitive Multi-Class Active Learning

Python implementation of our paper A Novel Uncertainty Sampling Algorithm for Cost-Sensitive Multiclass Active Learning and related algorithms, including:

  • Active Learning with Cost Embedding (ALCE)
  • Uncertainty Sampling with Margin (UncertaintyMargin)
  • Uncertainty Sampling with Entropy (UncertaintyEntropy)
  • Maximum Expected Cost (MEC)
  • Cost-Weighted Minimum Margin (CWMM)
  • Random Sampling

If you find our paper or implementation is useful in your research, please consider citing our paper for ALCE and the references below for other algorithms.

@inproceedings{Huang2016alce,
    author    = {Kuan-Hao Huang and
                 Hsuan-Tien Lin},
    title     = {A Novel Uncertainty Sampling Algorithm for Cost-Sensitive Multiclass Active Learning},
    booktitle = {Proceedings of the IEEE International Conference on Data Mining (ICDM)},
    pages     = {925--930},
    year      = {2016},
}

Prerequisites

  • Python 2.7.10
  • NumPy 1.9.2
  • scikit-learn 0.19.1
  • Matplotlib 1.3.1

Usage

$ python demo.py

Dataset

Result

result.png

Reference

  • Simon Tong and Daphne Koller. Support Vector Machine Active Learning with Applications to Text Classification. Journal of Machine Learning Research, 2001

  • Feng Jing, Mingjing Li, HongJiang Zhang, and Bo Zhang. Entropy-Based Active Learning with Support Vector Machines for Content-Based Image Retrieval. ICME, 2004

  • Po-Lung Chen and Hsuan-Tien Lin. Active Learning for Multiclass Cost-Sensitive Classification Using Probabilistic Models. TAAI, 2013

  • Kuan-Hao Huang and Hsuan-Tien Lin. A Novel Uncertainty Sampling Algorithm for Cost-Sensitive Multiclass Active Learning. ICDM, 2016

Author

Kuan-Hao Huang / @ej0cl6

csmcal's People

Contributors

ej0cl6 avatar kh-huang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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