Skip to content

notani/python-glad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-glad

A Python Implementation of GLAD.

GLAD

Algorithm for aggregating labels given by labeler more acculately than majority vote.

  • Whitehill, Jacob, et al. "Whose vote should count more: Optimal integration of labels from labelers of unknown expertise." Advances in neural information processing systems. 2009.

Dependency

  • numpy
  • scipy

Usage

$ python glad.py data/data.txt

Input Format

  First line:
    <numGivenLabels> <numLabelers> <numTasks> <Prior p(Z=1)>
  Following <numGivenLabels> lines:
    <taskId> <labelerId> <label:0|1>
  • The task IDs must be integers and must be 0....
  • The labeler IDs must be integers and must be 0....

About

A Python Implementation of GLAD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages