Gene Boggs
  • www.ology.net

Predicting Star Trek Characters with Naive Bayes

Posted on 2020-03-03

Tags: perl software machine learning NLP analysis

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...

Game of Life Glider Audio Rendering

Posted on 2020-02-15

Tags: perl software MIDI audio automata

Yesterday I became curious about what Conway's Game of Life structures might sound like on a grid of musical notes ("note-space").

Continue reading Game of Life Glider Audio Rendering...

Iterated Prisoner's Dilemma

Posted on 2019-06-02

Tags: perl software mathematics game theory

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.

Continue reading Iterated Prisoner's Dilemma...

Prime Number Digit Frequencies

Posted on 2019-05-05

Tags: perl software mathematics prime numbers

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:

Continue reading Prime Number Digit Frequencies...

Halstead Software Complexity of Perl Code

Posted on 2019-03-19

Tags: perl software complexity analysis

The other day I stumbled across the Wikipedia entry for Halstead software complexity and became curious about how the language Perl would measure up.

Now I knew the adage that "only perl can parse perl", but I also knew about the PPI set of modules on the CPAN.  So I got to reading/experimenting...

Continue reading Halstead Software Complexity of Perl Code...

  • ← Older
  • Newer →

Tags

  • analysis
  • audio
  • automata
  • bible
  • complexity
  • data
  • evolutionary
  • fractal
  • game theory
  • generative
  • image
  • machine learning
  • Mathematics
  • MIDI
  • Music
  • NLP
  • perl
  • pi
  • prime numbers
  • prolog
  • psychology
  • Python
  • R
  • software
  • systems
  • web

Feeds

  • Atom
  • RSS
Made with Statocles Copyright (c) 2013-2023 by Gene Boggs, Epistemologist-at-large