Giter Site home page Giter Site logo

Comments (7)

jarib avatar jarib commented on July 28, 2024 2

@g-rutter I have a script here that generates a CSV per country from the model output: https://github.com/jarib/covid19model/blob/6e4a0e36e220333d43b8f6d75480b2e16cbb9240/make-country-csvs.r

@s-mishra Let me know if you'd like a pull request that drops this under web/ somewhere.

from covid19model.

g-rutter avatar g-rutter commented on July 28, 2024 1

@s-mishra Thanks for your response. I am glad to hear that. I think the issue should remain open if your advice is "we are working on it" - that would be the usual approach.

@jarib Thanks for this. It should be helpful to the Imperial team.

from covid19model.

becare-rocket avatar becare-rocket commented on July 28, 2024

How long does it take to run? I'm running it now. Only took about 15 minutes to setup. What kind of machine are you using. I will benchmark mine when it finishes...

from covid19model.

becare-rocket avatar becare-rocket commented on July 28, 2024

Approximate benchmark is it takes about 40 minutes on an old mac-mini. I would bet it would run about 4x faster on a newer machine. I give this just so that other users running for the first time can have an idea on how much time it would take.

from covid19model.

becare-rocket avatar becare-rocket commented on July 28, 2024

G-Rutter -- I think the run takes about an 40 minutes on a macmini, although I am not sure I get the same results as they are presenting. To get the data in tabular form, find make-table.r and uncomment the commented lines that do a write.csv. You can change the target directory from "figures" to something else you prefer. I suggest setting up the batch job to run once around 1300Z so as to capture the current day's Euro CDC data. After that -- no need to resort to reading pixel's from a chart. If you are lucky you can get the Imperial College Team to do it for you, but it is not that hard. I wrote a small r function to translate their csv's back into the format that my R model expects transposing the rows and columns.

from covid19model.

s-mishra avatar s-mishra commented on July 28, 2024

Hi @g-rutter sure we are working on it to provide csv or just a model that runs in like an hr or so. @becare-rocket that 40 min is the debug run not the full run.

from covid19model.

payoto avatar payoto commented on July 28, 2024

Hello @jarib,
Lovely feature! It was on my todo list, I'm gonna pull it into my fork on branch https://github.com/payoto/covid19model/tree/community-contribs , if you don't mind.
I'm maintaining a branch of community features on my fork feel free to have a look for something of interest.

@s-mishra It would be nice to reopen this and tag it with the community label as we discussed the other day, similarly with PR #66 which seems related.

from covid19model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.