Chicago / west-nile-virus-predictions

Algorithm to predict repeated positive results for West Nile Virus for mosquitoes captured in traps across Chicago.
MIT License
14 stars 1 forks source link

Setup database for predictions #9

Closed tomschenkjr closed 7 years ago

tomschenkjr commented 8 years ago

Need to setup a tablespace/database to place predictions. The analytics/model code will populate the database, which will be read by applications to display the predictions.

Right now, thinking about placing this with Hoa in ZDT schema. @geneorama - please reach out to Hoa when she returns tomorrow.

tomschenkjr commented 7 years ago

Table 1

Table 2

tomschenkjr commented 7 years ago

Hoa is returning this week.

geneorama commented 7 years ago

Database is set up, example predictions for @hectorsalvador's first version are available.

The prediction format is not final.

This issue depends on #3

geneorama commented 7 years ago

The database has been set up, now I need to test writing to a table / set up a function to write:

The data tables are important because they are correctly consolidated by trap / week identities.

geneorama commented 7 years ago

The database is set up and working. We might need to open another issue later about what the right data format will be, but I have a working format.

tomschenkjr commented 7 years ago

@geneorama - #3 is closed(?)

geneorama commented 7 years ago

@tomschenkjr Yes, I think we closed it during an Analytics meeting.

tomschenkjr commented 7 years ago

Is this completed?

geneorama commented 7 years ago

Not quite.

On Fri, May 26, 2017 at 4:01 PM Tom Schenk Jr notifications@github.com wrote:

Is this completed?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Chicago/WNV_model/issues/9#issuecomment-304387348, or mute the thread https://github.com/notifications/unsubscribe-auth/ABU9xEFw328wttVE-Hq7r8I0LkzDcjDEks5r9z2xgaJpZM4JfZAX .

geneorama commented 7 years ago

The predictions are uploaded.

I was thinking about it over the weekend, and I realized that I was making a mistake in the logic of my forecast calculation. I believe I've fixed that, and the predictions are now uploaded to the database. The predictions are stored in the same table that has the trap map data.