Monthly Archives: June 2017

Sudoku and Noun Project Mashup in Python

I’ve developed some new airplane material for my puzzle kid: a mashup of my old sudoku generator and my noun project icons in matplotlib code snippet.

It could stand some more refactoring, anyone up for that? Code here: https://gist.github.com/aflaxman/188367eba6d25a4ec41af1a4f468efed

Comments Off on Sudoku and Noun Project Mashup in Python

Filed under Uncategorized

Dataviz in Python: Stephen Few’s new jittering

I am always excited to get news of a new Visual Business Intelligence Newsletter in my Inbox, and that is what arrived at the end of last week. This time Few takes on “jittering”, and suggests an interesting alternative to adding random noise.

Here is a little python snippet to do it:

def wheat_plot(x):
    hist, bin_edges = np.histogram(x)
    
    # make y position based on values of hist
    y = []
    for h_i in hist:
        y += range(h_i)

    plt.plot(sorted(x), y, 'o')
    plt.yticks([])

Here is a notebook that makes that code do something: https://gist.github.com/aflaxman/235f94f9563b1675233d6d35cd30b8c2

Also Jeff Heer and company made an interactive version in Vega: https://vega.github.io/vega/examples/wheat-plot/

Comments Off on Dataviz in Python: Stephen Few’s new jittering

Filed under Uncategorized

Diversity Club: the weakening definition of diveristy

For diversity club last week, we discussed the definition of “diversity” and how it might change over time or between groups. To help focus this, we read a short, but perhaps provocative, piece from the Atlantic:
https://www.theatlantic.com/business/archive/2015/05/the-weakening-definition-of-diversity/393080/

The Weakening Definition of ‘Diversity’
Millennials think that diversity is less about race and gender than it is about different “experiences.” What does this mean for America?

GILLIAN B. WHITE MAY 13, 2015

Comments Off on Diversity Club: the weakening definition of diveristy

Filed under Uncategorized

Follow-up to the classroom-worthy visual analytics example

Did you have a chance to see the sum-to-fifteen game I learned about last week?

Here is an animated version of playing it:

And here is what it looks like if you arrange the numbers in just the right 2d grid:

1 Comment

Filed under Uncategorized

Workshop summary of interest: Fertility trends in sub-Saharan Africa

http://www.nap.edu/catalog/21857/recent-fertility-trends-in-sub-saharan-africa-workshop-summary

Comments Off on Workshop summary of interest: Fertility trends in sub-Saharan Africa

Filed under Uncategorized

Materials on Computational Thinking

Some mailing list traffic has got me thinking about “computational thinking” lately. Here are some links on what it might be:

https://www.whitehouse.gov/blog/2016/01/30/computer-science-all

https://www.cs.cmu.edu/afs/cs/usr/wing/www/talks/ct-and-tc-long.pdf

https://www.edx.org/course/introduction-computational-thinking-data-mitx-6-00-2x-3

https://computationalthinkingcourse.withgoogle.com/course?use_last_location=true

Comments Off on Materials on Computational Thinking

Filed under Uncategorized

New Paper: New challenges for verbal autopsy: Considering the ethical and social implications of verbal autopsy methods in routine health information systems

https://www.ncbi.nlm.nih.gov/pubmed/28501755

Abstract

Verbal autopsy (VA) methods are designed to collect cause-of-death information from populations where many deaths occur outside of health facilities and where death certification is weak or absent. A VA consists of an interview with a relative or carer of a recently deceased individual in order to gather information on the signs and symptoms the decedent presented with prior to death. These details are then used to determine and assign a likely cause-of-death. At a population level this information can be invaluable to help guide prioritisation and direct health policy and services. To date VAs have largely been restricted to research contexts but many countries are now venturing to incorporate VA methods into routine civil registration and vital statistics (CRVS) systems. Given the sensitive nature of death, however, there are a number of ethical, legal and social issues that should be considered when scaling-up VAs, particularly in the cross-cultural and socio-economically disadvantaged environments in which they are typically applied. Considering each step of the VA process this paper provides a narrative review of the social context of VA methods. Harnessing the experiences of applying and rolling out VAs as part of routine CRVS systems in a number of low and middle income countries, we identify potential issues that countries and implementing institutions need to consider when incorporating VAs into CRVS systems and point to areas that could benefit from further research and deliberation.

Comments Off on New Paper: New challenges for verbal autopsy: Considering the ethical and social implications of verbal autopsy methods in routine health information systems

Filed under Uncategorized