Closed IsaccBarker closed 4 months ago
For reference, a generated graph. I made the y-axis logarithmic because I felt it visualized things better, but if this is unacceptable let me know. Also, the y-axis is labeled count
. I assume there's a better label, but I'm unsure as to what it might be.
Awesome job! Notice there's a lot of files that should not be included, namely, all the HTML stuff it is only used for pre-view the HTML version of the README.md file.
For reference, a generated graph. I made the y-axis logarithmic because I felt it visualized things better, but if this is unacceptable let me know. Also, the y-axis is labeled
count
. I assume there's a better label, but I'm unsure as to what it might be.
Looks great! I would keep the "regular scale" and perhaps remove the susceptible cases only.
Awesome job! Notice there's a lot of files that should not be included, namely, all the HTML stuff it is only used for pre-view the HTML version of the README.md file.
Sorry about that; I generated an HTML report and must have forgotten to remove that data. Will remove.
Graph sample
The Codacity statement seems to be a common issue: https://github.com/fossasia/query-server/issues/332.
Fixes #15.
Added database tests by way of running a SEIR model and checking the lengths of the returned Numpy arrays
dates
,states
, andcounts
to make sure they are of the correct length.We expose geting the database from models with the
getDb
function.We expose getting historical totals from databases with the
getHistTotal
function, which returns a dictionary of dates, states, and data (counts).We expose getting the name of a model with the
getName
function.Added a graph to the example in the
qmd
file. This pulls a generated graph from theREADME_files
directory.