Skip to content

Instantly share code, notes, and snippets.

View MHenderson's full-sized avatar

Matthew Henderson MHenderson

View GitHub Profile
@MHenderson
MHenderson / psssodls.py
Last active November 13, 2016 21:14
Generator of PSSSODLS(n) for Minion 3.
#!/usr/bin/env python
"""PSSSODLS generator.
Usage:
psssodls.py [options] [--] <size>
Options:
-h --help Show this screen.
--version Show version.
@MHenderson
MHenderson / nltk-notebook.ipynb
Last active February 28, 2016 16:14
NLTK IPython Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / kfpls-notebook.ipynb
Last active December 18, 2015 22:59
Kite-form PLS in IPython using Ryser.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / list-colouring-notebook.ipynb
Last active December 18, 2015 22:59
List-colouring in IPython using Vizing.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / networkx-notebook.ipynb
Last active February 9, 2016 23:22
Learning NetworkX in IPython.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / speech-annotation.ipynb
Created July 22, 2013 10:39
Speech annotation in Python using regular expressions. http://nbviewer.ipython.org/6052936
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / psssodls.eprime
Created August 10, 2013 13:42
Essence' description of PSSSODLS.
language ESSENCE' 1.0
given n : int
letting Indices be domain int(0..n-1)
letting Symbols be domain int(0..n-1)
letting symbol_sum be (n*(n-1)/2)
find P: matrix indexed by [Indices, Indices] of Symbols
such that
$ all rows have to be different
@MHenderson
MHenderson / gps-notebook.ipynb
Last active December 21, 2015 08:39
"Processing GPS data in Python" notebook for IPython. http://nbviewer.ipython.org/6279740
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / probability-notebook.ipynb
Last active September 5, 2017 10:59
Notes and solutions to exercises from "Introduction to Probability" by Grinstead and Snell.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MHenderson
MHenderson / sudoku-notebook.ipynb
Last active December 22, 2015 04:18
Modelling Sudoku puzzles with Python.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.