VW recently added a python interface , however, it's hard for me to find instructions for installing it. If I install VW from homebrew (brew install vowpal-wabbit) and I open python and call
import pyvw
I get ImportError.
I was able to successfully install the Python interface on VW by following these steps. Note that this is on an Ubuntu 14.04 machine with Anaconda Python 2.7.10.
Prerequisites: Extended and various Python development libraries:
sudo apt-get install libboost-all-dev sudo apt-get install python-dev libxml2-dev libxslt-dev
git clone
python
make
python test.py
import pyvw should work inside the Python console import pyvw .
pip install vowpalwabbit
should provide you with the latest version. then do
from vowpalwabbit import sklearn_vw
This will give you scikit vowpalwabbit