Skip to main content

pyagree

A simple Python package 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 yule_y, cohen_kappa

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

Y = yule_y(A)
K = cohen_kappa(A)

print("Yule's Y = {}".format(Y))
print("Cohen's 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.

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.

Metadata

Release files for pyagree 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyagree 0.0.4
File Size Uploaded Provenance Actions
pyagree-0.0.4.tar.gz 9.6 kB Without provenance Details for pyagree-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyagree 0.0.4
File Interpreter ABI Platform Actions
pyagree-0.0.4-py3-none-any.whl Python 3 none any Details for pyagree-0.0.4-py3-none-any.whl

Total release size: 19.7 kB

Release files / pyagree-0.0.4.tar.gz

Download URL pyagree-0.0.4.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2401037bd8a60142db5cca2079bf7a45b5d8613edd315b1dba078b561d36036d
BLAKE2b-256 checksum
How to use checksums
28d77c65898782f83adb55913f136747bde4b9d7dbcab1ccd29c26b11cf34c81
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pyagree-0.0.4-py3-none-any.whl

Download URL pyagree-0.0.4-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
655edc1af002c89012b5b2863540fbd1f480914dff18404a31e1d6b18a41e369
BLAKE2b-256 checksum
How to use checksums
fa408c81926b242176acbe75d42d6723e640a325e64f7280f783eff73935e637
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pyagree 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page