karibacalibrationdemo's People
karibacalibrationdemo's Issues
Transition from png figures to d3js-ed plots
Convert various traces and heat maps currently displayed as pre-formatted png figures to d3js json based objects
Bug: fix incorrect behavior where a penalty term is overwritten with a 0 in fix_terms collection, if the penalty weight is set to 0
Possible culprit is in kariba_model.py where as a premature optimization a penalty is not computed and set directly to 0 if its weight in the objective function is zero; the logic carries over the resulting 0 in the fit_terms collection that is written as a json after calibration.
Premature optimization is the root of all evil (in programming).
Bug: fix behavior where a model is added to gazetteer.json even if it already exists
When objective functions terms are computed (as opposed to loaded from files and only re-weighted), a new model is always created in gazetteer.json, even though that model may already have existed.
Refactor best_fit, all_fits collections
Currently both collections utilize the information from fit_entry as specified in kariba_model.py; however, the fit_entry info is written in different formats in all_fits and best_fits; furthermore some of the fit_entries attributes are written weighted/unweighted when viewed as a best_fit or respectively all_fits members. Introduce a fit_entry object that would handle the interaction between all_fits, best_fits and each model properties.
Remove hardcoded paths
All paths can be specified programmatically at config time (e.g. input json); no need for hard-coding.
Refactor pop_bubbles_map_display
pop_bubbles_map_display takes too many parameters that can be programmatically specified at config time. Need to refactor correspondingly.
Sort models in gazetteer.json
by weights value (e.g. increasing on clinical cases weight).
Modularize code
Remove dead code and abstract functionality in separate object based modules.
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.