Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
John Langford's original release of Vowpal Wabbit -- a fast online learning algorithm
branch: master

This branch is 18 commits ahead, 3562 commits behind JohnLangford:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cluster Fixed server install, as daemon
online_cluster various cleanup and organization
test
utl - Added vw-convergence charting utility and a new 'utl' directory
.gitignore Add more tests: 1) really test -q (was noop) 2) test threads
CMakeLists.txt Upgraded install for torch-pkg
FindTorch.cmake added missing torch finder.
License.txt readded License.txt
Makefile.origvowpal
README.md
accumulate.cc initial rewrite of spanning tree creation protocol
accumulate.h
active_interactor.cc persistent daemon should be working ...
allreduce.cc
allreduce.h
bfgs.cc better version of Lihong's patch
bfgs.h
cache.cc add -std=c++0x and deal with all kinds of type and namespace issues
cache.h
comp_io.h add -std=c++0x and deal with all kinds of type and namespace issues
constant.h
delay_ring.cc variable ring_size and faster lda sort from Matt
delay_ring.h
example.h
gd.cc better version of Lihong's patch
gd.h
gd_mf.cc better version of Lihong's patch
gd_mf.h added regularization for matrix factorization and R script for parame…
global_data.cc
global_data.h
hash.cc
hash.h
init.cpp
init.lua
io.cc
io.h
lda_core.cc revert lihongs patch which due to extra stuff
lda_core.h
loss_functions.cc revert lihongs patch which due to extra stuff
loss_functions.h add -std=c++0x and deal with all kinds of type and namespace issues
main.cc revert lihongs patch which due to extra stuff
message_relay.cc
message_relay.h
multisource.cc remove variable length arrays
multisource.h
network.cc revert lihongs patch which due to extra stuff
network.h revert lihongs patch which due to extra stuff
noop.cc
noop.h Added support for noop when only caching.
offset_tree.cc tweaking compile bugs
parse_args.cc
parse_args.h add -std=c++0x and deal with all kinds of type and namespace issues
parse_example.cc revert lihongs patch which due to extra stuff
parse_example.h
parse_primitives.cc
parse_primitives.h
parse_regressor.cc
parse_regressor.h
parser.cc
parser.h revert lihongs patch which due to extra stuff
sender.cc revert lihongs patch which due to extra stuff
sender.h add -std=c++0x and deal with all kinds of type and namespace issues
simple_label.cc revert lihongs patch which due to extra stuff
simple_label.h
sparse_dense.cc
sparse_dense.h better version of Lihong's patch
test.lua Omitted.
unique_sort.cc
unique_sort.h deleted debian-specific and tweaked n/skip generation so it made sens…
v_array.h add -std=c++0x and deal with all kinds of type and namespace issues
vw.cc removed cg code
vw.h

README.md

allreduce: a simple Lua wrapper around vowpal wabbit's allreduce implementation

This is a simple Lua interface to John Langford's allreduce implementation.

To use it, you simply neet to start a server on some arbitrary machine:

ssh mymachine
torch -lallreduce -e "allreduce.startserver()"

Once this daemon is running, you can run as many jobs as you like, on any machine, provided that you point to 'mymachine'.

From machine 1:

-- script 1:
allreduce.init('mymachine', 1, 2)  -- job 1/2
allreduce.average(somevector)

From machine 2:

-- script 2:
allreduce.init('mymachine', 2, 2)  -- job 2/2
allreduce.average(somevector)

After these calls, both scripts will have the same 'somevector'.

A test is provided in the source tree. After starting the server on 'localhost', you can run the test like this:

# process 1:
torch test.lua -id 1 -total 2

# process 2:
torch test.lua -id 2 -total 2

Install

Given a valid Torch7 install:

torch-pkg install allreduce

or, to retrieve the sources:

torch-pkg download allreduce
torch-pkg deploy allreduce

Copyrights

This is the vowpal wabbit fast online learning code. It is Copyright (c) 2009 Yahoo! Inc, and released for use under the BSD (revised) open source license.

Contributing authors are John Langford (Primary), Lihong Li, Alex Strehl, and Shubham Chopra, and Gordon Rios. This is the second VW release, and our intention is to create an open source project this time.

Checked into github with clone URL: git://github.com/JohnLangford/vowpal_wabbit.git

To get the code install git -- in a clean directory:

git clone git://github.com/JohnLangford/vowpal_wabbit.git

Gordon created a tag for the completely stock initial distribution '2.3' so to check out that original release and create a branch based on it:

git checkout 2.3 git checkout -b from-2.3

Or, in one command:

git checkout -b from-2.3 2.3

Swicegood, Travis. Pragmatic Version Control with Git. 2008. (p. 102)

Alternatively, the code can be downloaded directly from github:

http://github.com/gparker/vowpal_wabbit/downloads

Something went wrong with that request. Please try again.