Oops. This should read "Modified for scikit-learn by Lars Buitinck" -- I  decided not to translate to Cython because it just take longer to compile.