gasilva / dataandmodelscovid19 Goto Github PK
View Code? Open in Web Editor NEWPython code to analyze data and predict Covid-19 infection
License: Apache License 2.0
Python code to analyze data and predict Covid-19 infection
License: Apache License 2.0
update read.me in order to reflect new equations implemented
make a plotModels.py to compare results from several models
save dataFrame results and load back in plotModels.py
make a log plot and daily growth for best/selected model results
make weights an input variable for each country (self object)
separated data analysis from the model
do the optimization for the initial conditions and parameters for each DR
make the model available on a web-page
include an equation for hospitalization, ITU / Respirator beds
include an equation for quarantine
make the ODES parameters variable in time
Your dataset was added to CoronaWhy (https://www.coronawhy.org/) Data Lake on Dataverse as a piece of common COVID-19 data frame http://datasets.coronawhy.org/dataset.xhtml?persistentId=doi:10.5072/FK2/2PAQZN
Would you be willing to help with the maintenance of your dataset in Dataverse, e.g. adding the relevant metadata and keeping the dataset up-to-date? That will help to make the dataset findable and accessible for the medical science community.
python SEAIRD_DRS.py --districtRegions "DRS 08 - Franca" --start-date 2020-04-01 --prediction-days 60 --S_0 1000.0 --E_0 0.0001 --A0 0.0001 --I0 0.0001 --R0 0.0001 --D0 0.0001 --START 0 --RATIO 0.1 --WCASES 0.4 --WREC 0.1
usage: SEAIRD_DRS.py [-h] [--districtRegions DISTRICTREGIONS]
[--download-data DOWNLOAD_DATA] [--start-date START_DATE]
[--prediction-days PREDICT_RANGE] [--S_0 S_0] [--E_0 E_0]
[--A_0 A_0] [--I_0 I_0] [--R_0 R_0] [--D_0 D_0]
[--START STARTNCASES] [--RATIO RATIO]
[--WCASES WEIGTHCASES] [--WREC WEIGTHRECOV]
SEAIRD_DRS.py: error: argument --S_0: invalid int value: '1000.0'
change line from elif to if in DRS_run_all.py
elif query['s0'][0] == query['s0'][0]:
command += " --S_0 {}".format(query['s0'][0])
if query['s0'][0] == query['s0'][0]:
command += " --S_0 {}".format(query['s0'][0])
python SEAIRD_DRS.py --districtRegions 'DRS 09 - Marília' --start-date 2020-04-01 --prediction-days 60 --S_0 500.0 --E_0 0.0001 --A_0 0.0001 --I_0 0.0001 --R_0 0.0001 --D_0 0.0001 --START 0 --RATIO 0.1
--WCASES 0.4 --WREC 0.1
usage: SEAIRD_DRS.py [-h] [--districtRegions DISTRICTREGIONS]
[--download-data DOWNLOAD_DATA] [--start-date START_DATE]
[--prediction-days PREDICT_RANGE] [--S_0 S_0] [--E_0 E_0]
[--A_0 A_0] [--I_0 I_0] [--R_0 R_0] [--D_0 D_0]
[--START STARTNCASES] [--RATIO RATIO]
[--WCASES WEIGTHCASES] [--WREC WEIGTHRECOV]
SEAIRD_DRS.py: error: unrecognized arguments: 09 - Marília'
make tot minimum as 1 to not have division by zero
l1=np.sqrt(l1/max(1.,tot))
l2=np.sqrt(l2/max(1.,tot))
l3=np.sqrt(l3/max(1.,tot))
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.