diefpy


Namediefpy JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/SDM-TIB/diefpy
SummaryPython package for computing diefficiency metrics dief@t and dief@k.
upload_time2023-06-22 08:18:02
maintainer
docs_urlNone
authorPhilipp D. Rohde, Nikoleta Themeliotou
requires_python>=3.7
licenseMIT
keywords metrics benchmarking efficiency diefficiency-metrics dief python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Build Status](https://github.com/SDM-TIB/diefpy/actions/workflows/testroutine.yml/badge.svg?branch=master)](https://github.com/SDM-TIB/diefpy/actions/workflows/testroutine.yml)
[![Latest Release](http://img.shields.io/github/release/SDM-TIB/diefpy.svg?logo=github)](https://github.com/SDM-TIB/diefpy/releases)
[![DOI](https://zenodo.org/badge/351839805.svg)](https://zenodo.org/badge/latestdoi/351839805)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

[![Python Versions](https://img.shields.io/pypi/pyversions/diefpy)](https://pypi.org/project/diefpy)
[![Package Format](https://img.shields.io/pypi/format/diefpy)](https://pypi.org/project/diefpy)
[![Package Status](https://img.shields.io/pypi/status/diefpy)](https://pypi.org/project/diefpy)
[![Package Version](https://img.shields.io/pypi/v/diefpy)](https://pypi.org/project/diefpy)

 

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](https://github.com/maribelacosta/diefpy) by Maribel Acosta provides a complete Python3 version.

## Description

![Overview of Result Plots](https://raw.githubusercontent.com/SDM-TIB/diefpy/master/docs/_images/diefpy-overview.png "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
```bash
git clone git@github.com:SDM-TIB/diefpy.git
cd diefpy
python -m pip install -e .
```

or downloading it from PyPI:
```bash
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](https://sdm-tib.github.io/diefpy/) of the library for a detailed explanation of the implemented functionality.
The page also includes some [examples](https://sdm-tib.github.io/diefpy/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](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](https://iswc2017.ai.wu.ac.at/wp-content/uploads/papers/PostersDemos/paper602.pdf)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/SDM-TIB/diefpy",
    "name": "diefpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "metrics benchmarking efficiency diefficiency-metrics dief python",
    "author": "Philipp D. Rohde, Nikoleta Themeliotou",
    "author_email": "philipp.rohde@tib.eu",
    "download_url": "https://files.pythonhosted.org/packages/ad/bf/bc4a00dc161f82ad25700beb7dcb3f3ba4496fb3d5fd4f509691d3423520/diefpy-1.2.1.tar.gz",
    "platform": null,
    "description": "[![Build Status](https://github.com/SDM-TIB/diefpy/actions/workflows/testroutine.yml/badge.svg?branch=master)](https://github.com/SDM-TIB/diefpy/actions/workflows/testroutine.yml)\n[![Latest Release](http://img.shields.io/github/release/SDM-TIB/diefpy.svg?logo=github)](https://github.com/SDM-TIB/diefpy/releases)\n[![DOI](https://zenodo.org/badge/351839805.svg)](https://zenodo.org/badge/latestdoi/351839805)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n[![Python Versions](https://img.shields.io/pypi/pyversions/diefpy)](https://pypi.org/project/diefpy)\n[![Package Format](https://img.shields.io/pypi/format/diefpy)](https://pypi.org/project/diefpy)\n[![Package Status](https://img.shields.io/pypi/status/diefpy)](https://pypi.org/project/diefpy)\n[![Package Version](https://img.shields.io/pypi/v/diefpy)](https://pypi.org/project/diefpy)\n\n \n\nPhilipp D. Rohde, Nikoleta Themeliotou\n# diefpy\n\nPython package for computing diefficiency metrics **_dief@t_** and **_dief@k_**.\n\nThe metrics **_dief@t_** and **_dief@k_** allow for measuring the diefficiency during \nan elapsed time period _t_ or while _k_ answers are produced, respectively. \n**_dief@t_** and **_dief@k_** rely on the computation of the area under the curve (AUC) of \nanswer traces, and thus capturing the answer rate concentration over a time interval.\n\nThis fork of the [original diefpy repo](https://github.com/maribelacosta/diefpy) by Maribel Acosta provides a complete Python3 version.\n\n## Description\n\n![Overview of Result Plots](https://raw.githubusercontent.com/SDM-TIB/diefpy/master/docs/_images/diefpy-overview.png \"Overview of Result Plots\")\nFigure 1: Overview of Result Plots.\n\nFig. 1 gives an overview of the result plots that can be produced using the package.\nFirstly, the overall _Execution Time_ for all the tests and approaches (NotAdaptive, Random and Selective) in the metrics\ndata can be created as a bar plot. \nFor evaluating the input tests an answer trace of each approach (NotAdaptive, Random and Selective) can be created which shows how many answers were produced. \nFinally, 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_. \nThe 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\nthe first 25%, 50%, 75%, and 100% of the answers.\n\n## Installation\n\nYou can build and install diefpy from source\n```bash\ngit clone git@github.com:SDM-TIB/diefpy.git\ncd diefpy\npython -m pip install -e .\n```\n\nor downloading it from PyPI:\n```bash\npython -m pip install diefpy\n```\n\n**Notice:** Most likely you want to install diefpy into a virtual environment for the experiments you were running.\n\n## Usage \nWe refer the user to the [documentation](https://sdm-tib.github.io/diefpy/) of the library for a detailed explanation of the implemented functionality.\nThe page also includes some [examples](https://sdm-tib.github.io/diefpy/examples/).\nAdditionally, there is an iPython notebook in the `example` folder that demonstrates the use of the diefpy library.\n\n## Publications\n[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](https://doi.org/10.1007/978-3-319-68204-4_1)\n\n[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](https://iswc2017.ai.wu.ac.at/wp-content/uploads/papers/PostersDemos/paper602.pdf)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python package for computing diefficiency metrics dief@t and dief@k.",
    "version": "1.2.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/SDM-TIB/diefpy/issues",
        "Download": "https://github.com/SDM-TIB/diefpy/archive/refs/tags/v1.2.1.tar.gz",
        "Homepage": "https://github.com/SDM-TIB/diefpy"
    },
    "split_keywords": [
        "metrics",
        "benchmarking",
        "efficiency",
        "diefficiency-metrics",
        "dief",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b0cff28f70e46dea3a69a5d3ff46304b2ac8c2f144d394db8b25ac4d354c74a4",
                "md5": "7cb79d9ebce42e57ab127daa66925a1b",
                "sha256": "1a6879171366733c1b23d9adf19e0f7ebe9b7a07417e1a37cdb5210614c3bd8a"
            },
            "downloads": -1,
            "filename": "diefpy-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7cb79d9ebce42e57ab127daa66925a1b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 149025,
            "upload_time": "2023-06-22T08:18:00",
            "upload_time_iso_8601": "2023-06-22T08:18:00.817178Z",
            "url": "https://files.pythonhosted.org/packages/b0/cf/f28f70e46dea3a69a5d3ff46304b2ac8c2f144d394db8b25ac4d354c74a4/diefpy-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "adbfbc4a00dc161f82ad25700beb7dcb3f3ba4496fb3d5fd4f509691d3423520",
                "md5": "fcd5e2b7fdd7bba65a5da5a9de65b792",
                "sha256": "667e977d964cfb46eaada7121b32cb82b51f53cb4139917dea26eb94f07c2d17"
            },
            "downloads": -1,
            "filename": "diefpy-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fcd5e2b7fdd7bba65a5da5a9de65b792",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 149322,
            "upload_time": "2023-06-22T08:18:02",
            "upload_time_iso_8601": "2023-06-22T08:18:02.767462Z",
            "url": "https://files.pythonhosted.org/packages/ad/bf/bc4a00dc161f82ad25700beb7dcb3f3ba4496fb3d5fd4f509691d3423520/diefpy-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-22 08:18:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "SDM-TIB",
    "github_project": "diefpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "diefpy"
}
        
Elapsed time: 1.31951s