Comments (3)
1_data_processor.py:
>>> dataset["summary"] = dataset["summary"].apply(html.unescape)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/lib/python3.10/site-packages/pandas/core/series.py", line 4433, in apply
return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File "/usr/local/lib/python3.10/site-packages/pandas/core/apply.py", line 1082, in apply
return self.apply_standard()
File "/usr/local/lib/python3.10/site-packages/pandas/core/apply.py", line 1137, in apply_standard
mapped = lib.map_infer(
File "pandas/_libs/lib.pyx", line 2870, in pandas._libs.lib.map_infer
File "/usr/local/lib/python3.10/html/__init__.py", line 130, in unescape
if '&' not in s:
TypeError: argument of type 'NoneType' is not iterable
from gregory.
Pushing this up in the roadmap, because it would be nice to have the ML Model update itself.
from gregory.
This issue is over a year old but is still relevant.
Been looking into it now and then but never made any progress trying to increase the docker resources. Maybe it's a host limitation ?
Steps to train the ML models:
docker exec -it admin ./manage.py 1_data_processor
docker exec -it admin ./manage.py 2_train_models
After which the command returns killed
. For reference, we are running on a Digital Ocean droplet with 2 vCPU, 4 GB Memory.
Any ideas?
from gregory.
Related Issues (20)
- fix warning of naive datetime in clinical trials
- cronjob for getting access information breaks if DOI is an empty string
- refactor the get_takeaways script
- add multiuser support HOT 1
- on the api, add cout of articles to each category
- production warning for postgres collation HOT 1
- add support for multiple users, teams and custom ML models
- include an optional description field to the sources
- upgrade django
- Add information on retracted articles to the database HOT 1
- Clinical trials should include country or countries HOT 3
- add support for the WHO clinical trial database HOT 2
- add to the trials table the same columns we have from the WHO ICTRP HOT 1
- Add multi-tenant support (add support for multiple research topics/subjects, per team) HOT 1
- check is columns for `sent_to` are still relevant HOT 1
- High value of downtime for the API
- check if crossref gives publisher / journal information HOT 1
- predict script fails when ran as a django management command HOT 1
- Clinical Trial search en.irct.ir link does not work HOT 2
- sent_to_admin should default to 'false' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gregory.