Skip to content

Python Implementation of Dawid and Skene's EM Algorithm.

Notifications You must be signed in to change notification settings

kajyuuen/Dawid-skene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dawid-skene

Python (and numpy) implementation of the Dawid and Skene (1979).

the test for running experiments in the paper.

$ pytest

How to use

from dawid_skene_model import list2array
from dawid_skene_model import DawidSkeneModel

class_num = 4
dataset = [
        [[0, 0, 0], [0], [0], [0], [0]],
        [[2, 2, 2], [3], [2], [2], [3]],
        [[0, 0, 1], [1], [0], [1], [1]]
]
dataset_tensor = list2array(class_num, dataset_list)
model = DawidSkeneModel(class_num, max_iter=45, tolerance=10e-100)
marginal_predict, error_rates, worker_reliability, predict_label = model.run(dataset_tensor)

References:

About

Python Implementation of Dawid and Skene's EM Algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages