- I am a data scientist and Python Data Engineer
- I work at FINRA - Computerworld's No. 1 midsize company on its 2020 Best Places to Work
- I do a lot of pandas. A lot
Email me at [email protected] or find me on LinkedIn
a repo for the cord19 challenge
License: Apache License 2.0
Email me at [email protected] or find me on LinkedIn
I was wondering , how would i go about prioritizing the output documents according to precision at k = 3 for example , this is for a uni project and i need to sort the output papers according to their relevance ?
i have the cord-19 dataset loaded. i had previously run
pip install git+https://github.com/dgunning/cord19
when i ran the following cell:
from cord import ResearchPapers
papers = ResearchPapers.load()
i received the error below:
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-6-c9975fb5ab2e> in <module>
----> 1 from cord import ResearchPapers
2 papers = ResearchPapers.load()
/opt/conda/lib/python3.6/site-packages/cord/__init__.py in <module>
----> 1 from .cord19 import ResearchPapers, SearchResults
2 from .jsonpaper import JsonCatalog, JsonPaper
3 from .core import *
4 from .text import *
/opt/conda/lib/python3.6/site-packages/cord/cord19.py in <module>
12 from requests import HTTPError
13
---> 14 from cord.core import ifnone, render_html, show_common, describe_dataframe, is_kaggle, CORD_CHALLENGE_PATH, \
15 JSON_CATALOGS, find_data_dir, SARS_DATE, SARS_COV_2_DATE, lookup_by_sha, listify, cord_support_dir
16 from cord.dates import add_date_diff
/opt/conda/lib/python3.6/site-packages/cord/core.py in <module>
62 SIMILARITY_INDEX_PATH = str((Path(cord_support_dir()) / 'PaperSimilarity.ann').resolve())
63 SIMILARITY_INDEX = AnnoyIndex(DOCUMENT_VECTOR_LENGTH, 'angular')
---> 64 SIMILARITY_INDEX.load(SIMILARITY_INDEX_PATH)
65
66 METADATA_PATH = PurePath(cord_support_dir() / 'Metadata.pq')
OSError: Unable to open: No such file or directory (2)
do you know what i'm doing incorrectly?
thanks!
which file contains the implementation of the research_papers.search method().
getting this error:
WARNING: Error parsing requirements for cord19: Parse error at "'(===1.4.'": Expected stringEnd
after doing pip install git+https://github.com/dgunning/cord19.git
consequently, seems like some of the required modules were not being installed, such as annoy.
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.