API Reference
Data and datasets
Read data
|
Load data from file, URL, or plugin. |
|
Data object to the dataset with texts, labels, DOIs etc. |
Statistics
Return the average length of the abstracts. |
|
|
Number of duplicates. |
Return the number of irrelevant records. |
|
Return the number of keywords. |
|
Return the number of records with missing abstracts. |
|
Return the number of records with missing titles. |
|
Return the number of records. |
|
Return the number of relevant records. |
|
Return the number of unlabeled records. |
|
Return the average length of the titles. |
Datasets
Available datasets
Datasets available in the benchmark platform. |
|
Datasets used in the paper Van de Schoot et al. 2020. |
Dataset managers
|
|
|
|
Reviewer
|
Base class for Systematic Review. |
|
ASReview Simulation mode class. |
Models
This section provides an overview of the available models for active learning
in ASReview. For command line usage, use the name (example
) given behind
the model description (or see the name property of the model). Some models
require additional dependencies, see the model class for more information and
instructions.
Base class
Abstract class for any kind of model. |
asreview.models.feature_extraction
Classes
Base class for feature extraction methods. |
|
|
TF-IDF feature extraction technique ( |
|
Doc2Vec feature extraction technique ( |
|
Embedding IDF feature extraction technique ( |
|
Embedding LSTM feature extraction technique ( |
|
Sentence BERT feature extraction technique ( |
Functions
|
Get an instance of a feature extraction model from a string. |
Get class of feature extraction from string. |
|
List available feature extraction method classes. |
asreview.models.classifiers
Classes
Base model, abstract class to be implemented by derived ones. |
|
|
Naive Bayes classifier ( |
Random forest classifier ( |
|
|
Support vector machine classifier ( |
|
Logistic regression classifier ( |
LSTM-base classifier ( |
|
LSTM-pool classifier ( |
|
Fully connected neural network (2 hidden layers) classifier ( |
Functions
|
Get an instance of a model from a string. |
Get class of model from string. |
|
List available classifier classes. |
asreview.models.query
Classes
Abstract class for query strategies. |
|
Maximum query strategy ( |
|
|
Mixed query strategy. |
|
Mixed (95% Maximum and 5% Random) query strategy ( |
|
Mixed (95% Maximum and 5% Uncertainty) query strategy ( |
Uncertainty query strategy ( |
|
|
Random query strategy ( |
|
Clustering query strategy ( |
Functions
|
Get an instance of the query strategy. |
|
Get class of query strategy from its name. |
List available query strategy classes. |
asreview.models.balance
Classes
Abstract class for balance strategies. |
|
No balance strategy ( |
|
|
Double balance strategy ( |
|
Triple balance strategy ( |
|
Undersampling balance strategy ( |
Functions
|
Get an instance of a balance model from a string. |
Get class of balance model from string. |
|
List available balancing strategy classes. |
Projects and States
Load, interact, and extract information from project files and states (the “diary” of the review).
ASReviewProject
|
Project class for ASReview project files. |
State
|
Initialize a state class instance from a project folder. |
|
Class for storing the review state. |
Utils
|
Get the project directory. |
List the projects in the asreview path |
|
|
|
|
Check if a project file is of a ASReview version 0 project. |
Readers and writers
This module contains the input and output functionality. You can install them as extensions.
List available dataset reader classes. |
|
List available dataset writer classes. |
CVS file reader. |
|
CSV file writer. |
|
Excel file reader. |
|
Excel file writer. |
|
|
A single record from a paper in a systematic review. |
RIS file reader. |
|
RIS file writer. |
|
TSV file writer. |
Misc
Classes
|
Object to store the configuration of a review session. |
Functions
|
Find a record using keywords. |
Get the location where projects are stored. |
|
|
Return the path of the ASR data dir. |
Entry points
Entry points for ASReview LAB.
Base class for defining entry points. |
|
Entry point to list available algorithms in ASReview LAB. |
|
Entry point to start the ASReview LAB webapp. |
|
Entry point for simulation with ASReview LAB. |
|
Entry point to inspect ASReview LAB review progress. |