Compiling MegaM on MacOS X

Category: nlp
#compile #install #maxent #megam #nlp

MegaM is Hal Daumé III’s maxent (logistic regression, and much more) modeling software written in OCaml. It is feature-packed and seems to be used a lot, despite being slightly dated. NLTK is able to use it.

In order to compile it as of 2012, with the current version of …

Dynamically generated benchmarks with vbench

Category: scikit-learn
#gsoc #vbench #benchmarking #python

To construct a vbench benchmark you need a setup string and a code string. The constructor’s signature is:

Benchmark(self, code, setup, ncalls=None, repeat=3, cleanup=None, name=None, description=None, start_date=None, logy=False).

Why generate benchmarks dynamically?

For most scikit-learn purposes, the code string will be …