Skip to main content

Python3 library implementing a selection of truth discoveryalgorithms

Project description

truthdiscovery

Build Status Documentation Status

truthdiscovery is a Python3 library that implements various truth discovery algorithms.

A truth discovery problem consists of

  • a number of sources
  • a number of objects
  • for each source, a set of claims made by the source, with each claim relating to a distinct object

An object may be associated with multiple (conflicting) claims from different sources, in which case it is not clear up front which is the true claim. It is typically assumed that there is only one true claim for each object.

Truth discovery addresses this by using the network of sources, claims and objects to determine the trustworthiness of sources, the belief in each claim, and the true claim for each object.

The general principle for most algorithms is that trustworthy sources make believably claims, and believable claims are made my trustworthy sources.

Most approaches are unsupervised, in that they do not use any prior knowledge for the trustworthiness of sources etc.

Installation

This package should be installed with pip (using Python 3). It is recommended to work in a virtualenv to avoid conflicts with globally-installed packages:

$ git clone <this repo>
$ cd truthdiscovery
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -e .

Usage and documentation

See the full documentation on readthedocs

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

truthdiscovery-1.0.4.tar.gz (190.1 kB view details)

Uploaded Source

Built Distribution

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

truthdiscovery-1.0.4-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

Details for the file truthdiscovery-1.0.4.tar.gz.

File metadata

  • Download URL: truthdiscovery-1.0.4.tar.gz
  • Upload date:
  • Size: 190.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for truthdiscovery-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ab60f584cc433c03f1e110afffa4a74f81e6f1b2f4d36adf021cd93ab1366e6f
MD5 07dd246d67dc7fb414ddfa7f1498890c
BLAKE2b-256 9ef7bc9bae19c5e8776d7e869e5c1ff3bf0092d3e2b5be2d647e4b41ff87076a

See more details on using hashes here.

File details

Details for the file truthdiscovery-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: truthdiscovery-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 90.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for truthdiscovery-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d12f469426f003c413b235343e47e46b334269e9c236e7e3a839b44384a23c
MD5 93457abf2854daaaab0afed881b74457
BLAKE2b-256 5d0610e3a160e9d99474ff1c6c251ccacb0019e977dc9d22f4289f8b4ad3c71e

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