asreview / template-extension-new-model Goto Github PK
View Code? Open in Web Editor NEWTemplate repository to extend ASReview with a new model easily.
Home Page: https://www.asreview.ai
License: MIT License
Template repository to extend ASReview with a new model easily.
Home Page: https://www.asreview.ai
License: MIT License
Attempting to try out the example template via below:
docker run -it --entrypoint=/bin/bash -p 5000:5000 asreview/asreview
cd ~
curl https://raw.githubusercontent.com/asreview/systematic-review-datasets/master/datasets/Bos_2018/output/Bos_2018.csv -o Bos_2018.csv
git clone https://github.com/asreview/template-extension-new-model.git
cd template-extension-new-model/
pip install .
cd ..
asreview simulate Bos_2018.csv -m nb_example
Running into the following error:
_____ _____ _
/\ / ____| __ \ (_)
/ \ | (___ | |__) |_____ ___ _____ __
/ /\ \ \___ \| _ // _ \ \ / / |/ _ \ \ /\ / /
/ ____ \ ____) | | \ \ __/\ V /| | __/\ V V /
/_/ \_\_____/|_| \_\___| \_/ |_|\___| \_/\_/
---------------------------------------------------------------------------------
| |
| Welcome to the ASReview Automated Systematic Review software. |
| In this mode the computer will simulate how well the ASReview software |
| could have accelerate the systematic review of your dataset. |
| You can sit back and relax while the computer runs this simulation. |
| |
| GitHub page: https://github.com/asreview/asreview |
| Questions/remarks: [email protected] |
| |
---------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/asreview/utils.py", line 189, in _model_class_from_entry_point
return entry_points[method].load()
KeyError: 'nb_example'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/asreview", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/asreview/__main__.py", line 38, in main
entry.load()().execute(sys.argv[2:])
File "/usr/local/lib/python3.6/site-packages/asreview/entry_points/simulate.py", line 34, in execute
review_simulate(path, **args_dict)
File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 252, in review_simulate
review(dataset, *args, mode='simulate', **kwargs)
File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 235, in review
reviewer = get_reviewer(*args, mode=mode, model=model, **kwargs)
File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 177, in get_reviewer
random_state=random_state)
File "/usr/local/lib/python3.6/site-packages/asreview/models/utils.py", line 58, in get_model
model_class = get_model_class(method)
File "/usr/local/lib/python3.6/site-packages/asreview/models/utils.py", line 43, in get_model_class
return _model_class_from_entry_point(method, "asreview.models")
File "/usr/local/lib/python3.6/site-packages/asreview/utils.py", line 192, in _model_class_from_entry_point
f"Error: method '{method}' is not implemented for entry point "
ValueError: Error: method 'nb_example' is not implemented for entry point asreview.models.
Is there something I am missing?
I found that the install link for pip should be: pip install git+https://github.com/{USER_NAME}/{REPO_NAME}.git
, not the current link.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.