Skip to main content

Visualization tools for the ASReview project

Project description

ASReview-visualization

This is a plotting/visualization supplemental package for the ASReview software. It is a fast way to create a visual impression of the ASReview with different dataset, models and model parameters.

Installation

The easiest way to install the visualization package is to use the command line:

pip install git+https://github.com/msdslab/ASReview-visualization.git

Basic usage

After installation of the visualization package, asreview should automatically detect it. Test this by:

asreview --help

It should list the 'plot' modus.

Log files that were created with the same ASReview settings can be put together/averaged by putting them in the same directory. Log files with different settings/datasets should be put in different directories to compare them. It is advised to put these log files in the same directory.

As an example consider the following directory structure, where we have two datasets, called ace and ptsd, each of which have 8 runs:

├── ace
│   ├── results_0.h5
│   ├── results_1.h5
│   ├── results_2.h5
│   ├── results_3.h5
│   ├── results_4.h5
│   ├── results_5.h5
│   ├── results_6.h5
│   └── results_7.h5
└── ptsd
    ├── results_0.h5
    ├── results_1.h5
    ├── results_2.h5
    ├── results_3.h5
    ├── results_4.h5
    ├── results_5.h5
    ├── results_6.h5
    └── results_7.h5

Then we can plot the results by:

asreview plot ace ptsd

By default, the values shown are expressed as percentages of the total number of papers. Use the -a or --absolute-values flags to have them expressed in absolute numbers:

asreview plot ace ptsd --absolute-values

Plot types

There are currently three plot types implemented: inclusions, discovery, limits. They can be individually selected with the -t or --type switch. Multiple plots can be made by using , as a separator:

asreview plot ace ptsd --type 'inclusions,discovery'

Inclusions

This figure shows the number/percentage of included papers found as a function of the number/percentage of papers reviewed. Initial included/excluded papers are subtracted so that the line always starts at (0,0).

The quicker the line goes to a 100%, the better the performance.

alt text

Discovery

This figure shows the distribution of the number of papers that have to be read before discovering each inclusion. Not every paper is equally hard to find.

The closer to the left, the better.

alt text

Limits

This figure shows how many papers need to be read with a given criterion. A criterion is expressed as "after reading y % of the papers, at most an average of z included papers have been not been seen by the reviewer, if he is using max sampling.". Here, y is shown on the y-axis, while three values of z are plotted as three different lines with the same color. The three values for z are 0.1, 0.5 and 2.0.

The quicker the lines touch the black (y=x) line, the better.

alt text

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

asreview-visualization-0.1.4.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

asreview_visualization-0.1.4-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file asreview-visualization-0.1.4.tar.gz.

File metadata

  • Download URL: asreview-visualization-0.1.4.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for asreview-visualization-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ad387da026f5836b3d49d35e0d14dd6dd30f1967c19da4fa1fbe7d535b91f771
MD5 8a8c51e4502c24793012c3567ac0ac21
BLAKE2b-256 9b9772c3001db661f5fdb0bb5da26dda67f227d231cc25d3b4aee87df62c6c1a

See more details on using hashes here.

File details

Details for the file asreview_visualization-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: asreview_visualization-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for asreview_visualization-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 11de49cb53d9c89279da08a9c7232f892a1656df9f36d6d37b38a899f98c0b5f
MD5 bed6003b814e9c3c03106029d3217177
BLAKE2b-256 c0bc4d8610bd5a71d5c61fe2546c6e9449924dc66ea108593ffa98c76bf954f9

See more details on using hashes here.

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