philliplab / tsic Goto Github PK
View Code? Open in Web Editor NEWTime since infection calculator
Time since infection calculator
Too many hacks to compensate for flaws in the algorithm.
Just design the algorithm better and most of the hack will become unnecessary
Downstream analyses require estimates of the probability that infection occurred on each day. Thus compute a vector of probabilities with elements for each day and each element being the estimate of the probability that infection occured on the corresponding day.
This should be performed by computing the integral of the aggregate function from the start of the day to the start of the next day.
There are performance concerns: First prove that they are real.
There are concerns about the integrals converging properly: First prove that this is a real issue, then use a bunch of little hacks to check if it was computed correctly and then change the starting conditions of the integration function accordingly.
For now put this code in interpretation_processing and refactor later.
Given dx hist and ordered list of tests (by window period) return trimmed dx hist with only most informative + and - for each sample. In almost all cases, this will return only one test per sample date.
This function is doing so much more than it was originally intended to do, split it up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.