Compiling Vowpal Wabbit on Centos


Vowpal Wabbit is an awesome machine learning tool using which you can build logistic regression models online. While building it on a Centos flavor of Linux, I ran in to a lot of issues, and I wanted to highlight the steps needed to be able to build it successfully on Ubuntu. The documentation of Vowpal Wabbit includes great instructions on how to get it installed on Debian Linux but not so much for Centos:

  • If you don’t have boost libraries installed, then on Ubuntu, you need to get them via “yum install boost-devel” and “yum install boost”.
  • Then in the vowpal wabbit directory, run “./configure”
  • run “make”
  • run “make intall”
  • If you see errors like “undefined reference to pthread_create” while doing “make”, then add the following line to your configure.ac file: LDFLAGS='-lpthread'
  • That’s it!
Good luck building your machine learning models using Vowpal Wabbit.
About these ads

About hattipper

Collector of factoids. Love capturing images forever on my Canon SLR. On this site, you will learn factoids you didn't know about in a delightful manner.
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s