My new paper, which I believe is the first published application of DisMod-PDE: Projected growth of the adult congenital heart disease population in the United States to 2050: an integrative systems modeling approach
http://www.pophealthmetrics.com/content/13/1/29
Monthly Archives: October 2015
Projecting ACHD Cases
Comments Off on Projecting ACHD Cases
Filed under global health
My top 20 numpy calls
One fun thing about using the IPython Notebook as my lab book for all my research is that I can do “me”-search in my copious spare time, for example to see the top 25 `numpy` calls I’ve used this year:
In [1]: import glob In [2]: lines = '' for fname in glob.glob('*.py'): with file(fname) as f: lines += f.read() lines += '\n' In [3]: import re # Find top np.* calls In [9]: np_calls = re.findall('np\.[\w\.]+', lines) np_calls[:5] Out[9]: ['np.linspace', 'np.random.random', 'np.random.normal', 'np.sqrt', 'np.random.normal'] In [10]: import pandas as pd In [12]: pd.Series(np_calls).value_counts().head(20) Out[12]: np.array 219 np.random.normal 170 np.mean 130 np.random.seed 126 np.round 124 np.log 119 np.exp 114 np.linspace 96 np.random.choice 84 np.where 84 np.zeros 78 np.ones 65 np.dot 62 np.empty 62 np.sum 52 np.absolute 49 np.nan 47 np.arange 45 np.inf 38 np.sqrt 37
Number one thing: `np.array`! I wonder why I use that.
Comments Off on My top 20 numpy calls
Filed under software engineering
CCCSMF Accuracy
I have a new verbal autopsy paper out, which goes deep into the weeds of how to measure the accuracy of a method for identifying the underlying cause of death at the population level from survey data. http://www.pophealthmetrics.com/content/13/1/28
A fun online appendix includes probabilistic combinatorial calculations of the sort that I was actually trained in: http://www.pophealthmetrics.com/content/supplementary/s12963-015-0061-1-s2.zip
Comments Off on CCCSMF Accuracy
Filed under global health
Deep Dream and Smudge
I would like to combine the Google Deep Dream with Smudge. This is a way to remind me to try sometime.
Comments Off on Deep Dream and Smudge
Filed under Uncategorized
DisMod Book Available
I have a real printed copy of the DisMod book now, and if I have understood correctly, it is really available for purchase starting today!
I meant to have a picture of it in my hands to go here, but I didn’t get it in time. Here is a multiscale rainbow smudge instead:
Comments Off on DisMod Book Available
Filed under global health
A tree for a forest
There was a recent CrossValidated question that caught my interest: http://stats.stackexchange.com/questions/172163/making-a-single-decision-tree-from-a-random-forest
Here is my answer: http://stats.stackexchange.com/questions/172163/making-a-single-decision-tree-from-a-random-forest/172811#172811
It made me ask another question: http://stats.stackexchange.com/questions/172810/are-there-any-new-approaches-to-generating-random-examples-in-combined-multiple
Comments Off on A tree for a forest
Filed under Uncategorized
Smudge variant 2
Speaking of smudge variants, here is a multitouch drawing game that reminds me of lightbrite, if you know what I’m talking about. The 3 year old calls it “candy smudge” or “game smudge” depending on mood: http://bl.ocks.org/aflaxman/raw/a18d97fd21ae6a0ac171/
Comments Off on Smudge variant 2
Filed under software engineering
Smudge variant 1
Do you remember a year ago when I made a multitouch drawing thingie with d3js? https://healthyalgorithms.com/2014/12/12/introducing-smudge/
My 3 year old and I modded it, and may we now share “castle smudge” with you: http://bl.ocks.org/aflaxman/raw/26fc5aa0e14b01754b0f/
Comments Off on Smudge variant 1
Filed under software engineering