Skip to main content

A simple Python module to compute some inter-rater agreement measures.

Project description

pyagree

A simple Python module to compute some inter-rater agreement measures. Among the other measures this package provides an implementation for both the Information Agreement and the extension-by-continuity of Information Agreement coefficients (see [1]).

Documentation

Here you can find the pyagree documentation. It contains:

  • the instruction to install the package
  • the user manual and some examples
  • the API manual

Examples

In order to use pyagree, it is sufficient to import it, for instance, by using the statement

import pyagree

After that, all the functions reported can be invoked as follows:

pyagree.<function name>(<parameter1>, ...)

Alternatively, the desired functions can be individually imported and avoiding the package name prefix as in:

from pyagree import <function name>

<function name>(<parameter1>, ...)

For instance, the Python program:

from pyagree import YuleY, CohenKappa

A = [[10,  1],
	 [ 5, 10]]

Y = YuleY(A)
K = CohenKappa(A)

print('Yule = {}'.format(Y))
print('Kappa = {}'.format(K))

evaluates both Yule's Y and Cohen's kappa of the agreement matrix A and print them in output.

References

[1] Casagrande, A. and Fabris, F. and Girometti R. (2020). Beyond Kappa: An Informational Index for Diagnostic Agreement in Dichotomous and Multivalue Ordered-Categorical Ratings, Submitted for the publication.

Copyright and license

pyagree Copyright (C) 2020 Alberto Casagrande acasagrande@units.it

Copyright (c) 2020 Alberto Casagrande

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyagree-0.0.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyagree-0.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file pyagree-0.0.2.tar.gz.

File metadata

  • Download URL: pyagree-0.0.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for pyagree-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cf7e5ec4a239152388a84341a58ea9b615537dd43c7529cc88efd391bd80bbb2
MD5 dd930c5751bf4742b5042f09d7672dea
BLAKE2b-256 625490ed9751c7eb2ed15fe30bec3922012edeb98eabb28f2afa73513922b1b0

See more details on using hashes here.

File details

Details for the file pyagree-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyagree-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for pyagree-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1daec7736e6c3aa0ddbbec5ed1e0b53080c0dfd13d21c1d24d7d3fbc5e8f36
MD5 998b0fde8fecbe3ff404cd0cb9238e2b
BLAKE2b-256 a0c1cad8fa0e3f24683955ec12696dc3ba572b6a379a0a100ee28659aba0a1f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page