Skip to content

Template repository to extend ASReview with a new model easily.

License

Notifications You must be signed in to change notification settings

asreview/template-extension-new-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages