Skip to main content

Python package for computing diefficiency metrics dief@t and dief@k.

Project description

Build Status Latest Release DOI License: MIT

Python Versions Package Format Package Status Package Version

 

Philipp D. Rohde, Nikoleta Themeliotou

diefpy

Python package for computing diefficiency metrics dief@t and dief@k.

The metrics dief@t and dief@k allow for measuring the diefficiency during an elapsed time period t or while k answers are produced, respectively. dief@t and dief@k rely on the computation of the area under the curve (AUC) of answer traces, and thus capturing the answer rate concentration over a time interval.

This fork of the original diefpy repo by Maribel Acosta provides a complete Python3 version.

Description

Overview of Result Plots Figure 1: Overview of Result Plots.

Fig. 1 gives an overview of the result plots that can be produced using the package. Firstly, the overall Execution Time for all the tests and approaches (NotAdaptive, Random and Selective) in the metrics data can be created as a bar plot. For evaluating the input tests an answer trace of each approach (NotAdaptive, Random and Selective) can be created which shows how many answers were produced. Finally, two Radar Plots can be created. The Radar Plot on the left compares dief@t with other benchmark metrics in a specific test. The other benchmark metrics being conventional metrics like total execution time, time for the first tuple, throughput, and number of answers produced. The Radar Plot on the right compares dief@k at different answer completeness percentages in a specific test by measuring the continuous efficiency of approaches when producing the first 25%, 50%, 75%, and 100% of the answers.

Installation

You can build and install diefpy from source

git clone git@github.com:SDM-TIB/diefpy.git
cd diefpy
python -m pip install -e .

or downloading it from PyPI:

python -m pip install diefpy

Notice: Most likely you want to install diefpy into a virtual environment for the experiments you were running.

Usage

We refer the user to the documentation of the library for a detailed explanation of the implemented functionality. The page also includes some examples. Additionally, there is an iPython notebook in the example folder that demonstrates the use of the diefpy library.

Publications

[1] Maribel Acosta, Maria-Esther Vidal, York Sure-Vetter. Diefficiency Metrics: Measuring the Continuous Efficiency of Query Processing Approaches. In Proceedings of the International Semantic Web Conference, 2017. Nominated to Best Paper Award at the Resource Track. https://doi.org/10.1007/978-3-319-68204-4_1

[2] Maribel Acosta, Maria-Esther Vidal. Measuring the Performance of Continuous Query Processing Approaches with dief@t and dief@k. In the International Semantic Web Conference, Posters and Demos, 2017. online

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

diefpy-1.2.0.tar.gz (149.0 kB view details)

Uploaded Source

Built Distribution

diefpy-1.2.0-py3-none-any.whl (148.7 kB view details)

Uploaded Python 3

File details

Details for the file diefpy-1.2.0.tar.gz.

File metadata

  • Download URL: diefpy-1.2.0.tar.gz
  • Upload date:
  • Size: 149.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for diefpy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3663d78d230d9c335a9556b6bcb5bcfea57681e36fad1da03ae9413403987995
MD5 3533cc239d05aa05c42d9bcfef0d3017
BLAKE2b-256 71ec22d9d82d578776fe9d0655e0e83b52707fc8162cecb1f4b95b5f12462365

See more details on using hashes here.

Provenance

File details

Details for the file diefpy-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: diefpy-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 148.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for diefpy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0f8f7a23867e11c8380c0465ab34f6b668dd1fe36c89a41a3f0b808e906a61
MD5 e8e33e099319635d050eab98b2368226
BLAKE2b-256 80f0ee29e544ae5949ed015d36263720d15c16a4239d4e0b7acef261e91bf7c9

See more details on using hashes here.

Provenance

Supported by

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