ASReview has support for extensions, which enable you to seemlessly integrate your own programs with the ASReview framework. These extensions can extend the software with new classifiers, qurey strategies, balance strategies, and feature extraction techniques. This template can be used to write such an extension (add a new SKLearn naive Bayes classifier with default settings in this case).
See the section Extensions on ReadTheDocs for more information on writing extensions.
Click the Use this template button and add/modify the algorithms. Install
your new classifier with
pip install .or
pip install git@github.com:{USER_NAME}/{REPO_NAME}.gitand replace {USER_NAME} and {REPO_NAME} by your own details.
The new classifier nb_example is defined in
asreviewcontrib/models/nb_default_param.py
and can be used in a simulation.
asreview simulate example_data_file.csv -m nb_exampleMIT license