Comments (3)
This should be linked with this issue
from june.
I think the problem with having a single inputs file is that it makes it harder to extend the code. Every time we want to add a new module that requires new data we have to add code to inputs.
A better solution would be to have a utility that reads some config file that provides paths to data. Then when we build our model we can pass paths to our individual modules and have them decide how to load the data. This way module specific logic is kept in the modules and it's easy to add additional data to the system without modifying the code by adding paths to the config file.
from june.
Yes, I think that is better than having inputs. I'll make a pull request about it
from june.
Related Issues (20)
- A lot of small computations in simulator.py that don't ever get used HOT 15
- Question: very large spikes in time spent running infection.infect_person_at_time for certain persons HOT 5
- Memory optimization: consider using Python array rather than list in some places HOT 14
- Question: behaviour of run_simulation example starting with 10k infections HOT 2
- (Private) API reference auto-generated from codebase HOT 3
- logger.log_number_of_locations not used (and would cause crash if used) HOT 2
- Clean-up unused imports HOT 2
- What is going on with companies? HOT 2
- Need to think how to split commute in domains. HOT 1
- Discrepancy in number of active workers in domain HOT 1
- parallel performance HOT 12
- current trunk/data scripts missing data commute_ew.csv HOT 4
- Saving checkpoint causes memory spike HOT 2
- Unemployment HOT 2
- Loading world from hdf5 HOT 1
- Household visits - potential function conflicts and duplication HOT 2
- Remove requirement for RecordReader to load the summary HOT 1
- Unable to download june_data HOT 1
- failing example_scripts/run_simulation.py last step HOT 6
- recovery rate calculation HOT 2
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 june.