asreview / template-extension-new-model

Template repository to extend ASReview with a new model easily.

Home Page:https://www.asreview.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template for extending ASReview with new model

ASReview has support for extensions, which enable you to seamlessly integrate your own programs with the ASReview framework. These extensions can extend the software with new classifiers, query 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.

Getting started

Click the Use this template button and add/modify the algorithms. Install your new classifier with

pip install .

or

pip install git+https://github.com/{USER_NAME}/{REPO_NAME}.git

and replace {USER_NAME} and {REPO_NAME} by your own details.

Usage

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_example

License

MIT license

About

Template repository to extend ASReview with a new model easily.

https://www.asreview.ai

License:MIT License


Languages

Language:Python 100.0%