Parallel AdaOpt classification

[This article was first published on T. Moudiki's Webpage - Python, and kindly contributed to python-bloggers]. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

In these previous posts:

I introduced AdaOpt, a novel probabilistic classifier based on a mix of multivariable optimization and a nearest neighbors algorithm. More details about the algorithm can also be found in this (short) paper. mlsauce’s development version now contains a parallel implementation of AdaOpt. In order to install this development version from the command line, you’ll need to type:

pip install git+https://github.com/thierrymoudiki/mlsauce.git --upgrade

And in order to use parallel processing, create the AdaOpt object (see previous post) with:

n_jobs = 2 # or 4, or -1 or 13
To leave a comment for the author, please follow the link and comment on their blog: T. Moudiki's Webpage - Python.

Want to share your content on python-bloggers? click here.