John Bowlan
github repository








Source Repositories

Some things I think are interesting. Mostly algorithms for fitting high dimensional statistical models to large datasets. These have applications in natural-language processing / computer vision.

Basic statistical algorithms

(Source available soon...)

One python file that contains some basic implementations of common (but powerful) statistical inference algorithms: linear least square, l2 regularized least squares, logistic regression (via the IRLS algorithm), l2 regularized logistic regression..

l1 regularized least squares

(source)

L1 regularized least squares implementation using Efron, Hastie, Johnstone and Tibshirani's LARS algorithm. l1 regularization favors a sparse solution, which is has many advantages.

l1 regularized logistic regression

(Source available soon...)

An implementation of IRLS-LARS described in this paper. It's a pretty straightforward extension of the standard IRLS algorithm for normal logistic regression. I'm particularly interested in how the performance of this method compares with the interior-point method described here.

Classical polar asymmetric rotor

(source)

This program calculates the rigid body motion of a heavy polar molecule in an electric field, by numerically integrating Euler's equations of motion. The quaternion representation of rotations is used. There is no analytic solution for this system and for strong fields the motion is in unstable to chaos. This one requires lots of numeric integrations so it is implemented in C/Python. It uses the ODE integration routines from GSL, and uses mayavi for visualization of the motion.