All Projects → asreview → asreview-visualization

asreview / asreview-visualization

Licence: Apache-2.0 License
Visualization extension for ASReview

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to asreview-visualization

systematic-review-datasets
A collection of fully labeled systematic review datasets (title-abstract screening)
Stars: ✭ 25 (+56.25%)
Mutual labels:  utrecht-university, asreview
asreview-wordcloud
ASReview extension to generate wordcloud from data files.
Stars: ✭ 14 (-12.5%)
Mutual labels:  utrecht-university, asreview
cartoee
Publication quality maps using Earth Engine and Cartopy
Stars: ✭ 38 (+137.5%)
Mutual labels:  plot
MCUCapture
Utility for plotting array data from MCU RAM
Stars: ✭ 22 (+37.5%)
Mutual labels:  plot
simpleRPC
Simple RPC implementation for Arduino.
Stars: ✭ 28 (+75%)
Mutual labels:  discovery
plotters-iced
📈 Iced backend for Plotters
Stars: ✭ 30 (+87.5%)
Mutual labels:  plot
doccano-client
A simple client wrapper for doccano API.
Stars: ✭ 52 (+225%)
Mutual labels:  active-learning
small-text
Active Learning for Text Classification in Python
Stars: ✭ 241 (+1406.25%)
Mutual labels:  active-learning
ggChernoff
R package for drawing Chernoff faces in ggplot2
Stars: ✭ 28 (+75%)
Mutual labels:  plot
bing-ip2hosts
bingip2hosts is a Bing.com web scraper that discovers websites by IP address
Stars: ✭ 99 (+518.75%)
Mutual labels:  discovery
readgssi
python tool to read and plot Geophysical Survey Systems Incorporated (GSSI) radar data
Stars: ✭ 46 (+187.5%)
Mutual labels:  plot
matplotlib-haskell
Haskell bindings for Python's Matplotlib
Stars: ✭ 80 (+400%)
Mutual labels:  plot
assistant-with-discovery-openwhisk
DEPRECATED: this repo is no longer actively maintained
Stars: ✭ 21 (+31.25%)
Mutual labels:  discovery
scikit-activeml
Our package scikit-activeml is a Python library for active learning on top of SciPy and scikit-learn.
Stars: ✭ 46 (+187.5%)
Mutual labels:  active-learning
al-fk-self-supervision
Official PyTorch code for CVPR 2020 paper "Deep Active Learning for Biased Datasets via Fisher Kernel Self-Supervision"
Stars: ✭ 28 (+75%)
Mutual labels:  active-learning
reddit-hot-recorder
Records the activity (comments and karma) on the hot page of a Reddit sub and prepare an animated data visualisation.
Stars: ✭ 89 (+456.25%)
Mutual labels:  plot
is-04
AMWA IS-04 NMOS Discovery and Registration Specification (Stable)
Stars: ✭ 35 (+118.75%)
Mutual labels:  discovery
asciichart-sharp
C# port of asciichart
Stars: ✭ 27 (+68.75%)
Mutual labels:  plot
hello-3d-world
Plot 3d points, lines, and polygon on an svg. A demonstration of what you can do with the BareMinimum3d package
Stars: ✭ 53 (+231.25%)
Mutual labels:  plot
Happy
Happy 🥳 | Rocketseat 💜 - NLW 03 👩‍🚀
Stars: ✭ 61 (+281.25%)
Mutual labels:  discovery

ASReview-visualization

PyPI version Downloads PyPI - License Deploy and release Build status

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 datasets, models and model parameters.

Installation

The easiest way to install the visualization package is to install from PyPI:

pip install asreview-visualization

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

asreview --help

It should list the 'plot' modus.

Basic usage

State files that were created with the same ASReview settings can be put together/averaged by putting them in the same directory. State files with different settings/datasets should be put in different directories to compare them.

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 --show-absolute-values flags to have them expressed in absolute numbers:

asreview plot ace ptsd --show-absolute-values

Plot types

There are currently four plot types implemented: inclusion, discovery, limit, progression. 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 'inclusion,discovery'

Inclusion

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.

Use --show-metric-labels to display the labels and values of WSS and RFF lines.

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

Limit

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

Progression

This figure shows the average inclusion rate as a function of time, number of papers read. The more concentrated on the left, the better. The thick line is the average of individual runs (thin lines). The visualization package will automatically detect which are directories and which are files. The curve is smoothed out by using a Gaussian smoothing algorithm.

alt text

API

To make use of the more advanced features, you can also use the visualization package as a library. The advantage is that you can make more reproducible plots where text, etc. is in the place you want it. Examples can be found in module asreviewcontrib.visualization.quick. Those are the scripts that are used for the command line interface.

from asreviewcontrib.visualization.plot import Plot

with Plot.from_paths(["PATH_1", "PATH_2"]) as plot:
	inc_plot = plot.new("inclusion")
	inc_plot.set_grid()
	inc_plot.set_xlim(0, 30)
	inc_plot.set_ylim(0, 101)
	inc_plot.set_legend()
	inc_plot.show()
	inc_plot.save("SOME_FILE.png")

Of course fill in PATH_1 and PATH_2 as the files you would like to plot.

If the customization is not sufficient, you can also directly manipulate the self.ax and self.fig attributes of the plotting class.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].