larsmans/seqlearn — pull request #4 by kmike (2013-08-05 19:31:07+00:00)
Title: Fix installation

With Cython extension StructuredPerceptron.fit is 2.5x faster than with vectorized numpy for my data, thanks!

But installation now requires numpy at build time, so without proper headers it fails. A simplified version of scikit-learn's setup.py numpy code is in this PR. I'm not sure what other numpy-related stuff does in scikit-learn setup.py; numpy.get_include() seems enough for seqlearn.