Skip to content

travisbrady/ocaml-vw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-vw

OCaml bindings to Vowpal Wabbit aka vw

Summary

This package provides experimental bindings to Vowpal Wabbit via its C API using OCaml's ctypes package.

Thus far these bindings expose an interface very similar to vw's command line interface. Essentially you pass command-line style switches and then make sure your data match the VW input format.

Installation

Detailed instructions can be found on the VW Getting Started page but if you're on a Mac you can do:

$ brew install vowpal-wabbit

Basics

Vowpal Wabbit can be used for all sorts of standard supervised learning problems (regression and classification, bag-of-words style text classification, etc) but most recently has won renown for its contextual bandits

Examples

Have a look in the examples directory for a handful of demonstrations of using ocaml-vw.

License

BSD 3 Clause, the same as Vowpal Wabbit itself.