How Much Ink Is Used For Each Letter?
Today I became curious about how much ink is needed to print each of the 26 letters of the English alphabet. Naturally I wrote a program to tell me...
Today I became curious about how much ink is needed to print each of the 26 letters of the English alphabet. Naturally I wrote a program to tell me...
I have been reading "Data Science from Scratch" and porting the python code to perl. In this episode, we use Naive Bayes to predict whether the speaker of a line is either Kirk, Spock or McCoy, with my new, work-in-progress data science library.
tl;dr: is-character.pl
Continue reading Predicting Star Trek Characters with Naive Bayes...
Yesterday I became curious about what Conway's Game of Life structures might sound like on a grid of musical notes ("note-space").
This weekend I watched Dr Hannah Fry's documentary on game theory, and was inspired by her discussion of Robert Axelrod's tournament to simulate the iterated prisoner's dilemma (IPD) for myself.
Today I became curious about the relative frequencies of the digits that appear in prime numbers (in base 10).
Naturally, I wrote a little program to show the answer - digit-freq2: