Category Archives: Programming

Course material for Complex Systems 530 – Computer Modeling for Complex Systems

  This term, I’m teaching Complex Systems 530 – Computer Modeling for Complex Systems at the University of Michigan Center for the Study of Complex Systems.  In the spirit of open science, all course material will be available online at Github.  You can browse the repository here: ht...
Read More

Advanced approximate sentence matching in Python

In our last post, we went over a range of options to perform approximate sentence matching in Python, an import task for many natural language processing and machine learning tasks.  To begin, we defined terms like: tokens: a word, number, or other “discrete” unit of text. stems: words...
Read More

Fuzzy match sentences in Python

Let’s imagine you have a sentence of interest.  You’d like to find all occurrences of this sentence within a corpus of text.  How would you go about this? The most obvious answer is to look for exact matches of the sentence.  You’d search through every sentence of your corpus,...
Read More

Isotonic Regressions in scikit-learn

Isotonic regression is a great tool to keep in your repertoire; it’s like weighted least-squares with a monotonicity constraint.  Why is this so useful, you ask?  Take a look at the example relationship below. (You can follow along with the Python code here).       Let’s imagine ...
Read More

AWS EC2 hs1.8xlarge Oracle ORION benchmark results

Benchmarking I/O with Oracle ORION is an important part of planning, baselining, and performance-tuning Oracle environments.  I’ve previously provided ORION results for the hi1.4xlarge SSD-backed instance class, and based on some recent work, I wanted to provide an update for the newer hs1.8x...
Read More