Giter Club home page Giter Club logo

djarenas / inter-rater Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 73 KB

Inter-rater quantifies the reliability between multiple raters who evaluate a group of subjects. It calculates the group quantity, Fleiss kappa, and it improves on existing software by keeping information about each user and quantifying how each user agreed with the rest of the group. This is accomplished through permutations of user pairs. The software was written in Python, can be run in Linux, and the code is deposited in Zenodo and GitHub. This software can be used for evaluation of inter-rater reliability in systematic reviews, medical diagnosis algorithms, education applications, and others.

License: GNU General Public License v3.0

Python 100.00%
inter-rater systematic-reviews

inter-rater's People

Contributors

djarenas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inter-rater's Issues

pip package?

Was looking to install via pip.

Please let me know if you need assistance creating pip package. I maintain one for another project currently.

incorrect categorical encoding?

'o' vs '0' number zero

Notice that in the printed output from inter_rater.py example I see the following error.

Number of absent or invalid ratings: 757. Proportion of total: 0.47

Consider how categories and datafile are encoded:

#  categories for ratings (i.e. “benign”, “malignant”; “1”, “0”, “-1”)
categories

array(['1', '0', '-1'], dtype='<U2')
# data file with the Nxn matrix where each row is a subject and each column corresponds to the ratings of one rater.
nparray

array(
      [['-1', 'o', '-1', 'o'],
       ['-1', 'o', '-1', 'o'],
       ['o', 'o', '-1', '-1'],
       ...,
       ['-1', '-1', 'o', 'o'],
       ['-1', 'o', '-1', 'o'],
       ['-1', 'o', 'o', '1']], dtype='<U2')

If the correct encoding is applied to match categories, I will get a different result showing undesirable negative Kappa.

nparray = np.where(nparray=='o','0',nparray)

ymin = -1
ymax = 1

ref: https://arxiv.org/pdf/1809.05731.pdf

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.