Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
John Langford's original release of Vowpal Wabbit -- a fast online learning algorithm
C++ C Perl Lua Shell
branch: master

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cluster
online_cluster
test
utl
.gitignore
CMakeLists.txt Upgraded install for torch-pkg
FindTorch.cmake
License.txt readded License.txt
Makefile.origvowpal
README.md
accumulate.cc
accumulate.h add -std=c++0x and deal with all kinds of type and namespace issues
active_interactor.cc
allreduce.cc debug new span server
allreduce.h
bfgs.cc
bfgs.h
cache.cc add -std=c++0x and deal with all kinds of type and namespace issues
cache.h made 29 bits correct and explicitly disabled greater.
comp_io.h add -std=c++0x and deal with all kinds of type and namespace issues
constant.h minor bugfixes
delay_ring.cc
delay_ring.h
example.h removed array
gd.cc
gd.h
gd_mf.cc
gd_mf.h
global_data.cc
global_data.h
hash.cc
hash.h
init.cpp Added accumulate+average.
init.lua
io.cc revert lihongs patch which due to extra stuff
io.h
lda_core.cc
lda_core.h various cleanup and organization
loss_functions.cc
loss_functions.h
main.cc
message_relay.cc fixed reset/daemon interaction bug
message_relay.h finished implementing backprop, debugging
multisource.cc remove variable length arrays
multisource.h
network.cc
network.h
noop.cc solved slow finishing bug
noop.h
offset_tree.cc tweaking compile bugs
parse_args.cc
parse_args.h
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
sender.cc
sender.h
simple_label.cc revert lihongs patch which due to extra stuff
simple_label.h
sparse_dense.cc better version of Lihong's patch
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.