Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniruc <niruc@NIRUC1.redmond.corp.microsoft.com>2013-04-09 22:02:25 +0400
committerniruc <niruc@NIRUC1.redmond.corp.microsoft.com>2013-04-09 22:29:00 +0400
commit22b461552e57a34deedcb623b3a37f943d370d78 (patch)
tree9eb53c22d9552698866ae6f9be64441aeb778863 /vowpalwabbit/vw.h
parentc0e215ecec7eddf689283271968bcdfca8984e71 (diff)
parent0359e2a3a483761ff4e4f266446ef4fed5c1611b (diff)
add main.cc
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r--vowpalwabbit/vw.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h
index ddea10ad..6f255858 100644
--- a/vowpalwabbit/vw.h
+++ b/vowpalwabbit/vw.h
@@ -11,10 +11,8 @@ license as described in the file LICENSE.
#include "hash.h"
namespace VW {
- /*
- You must call initialize to get access to the library. The argument is a vew commandline.
- Caveats:
+/* Caveats:
(1) Some commandline parameters do not make sense as a library.
(2) The code is not yet reentrant.
*/
@@ -32,15 +30,14 @@ namespace VW {
void start_parser(vw& all, bool do_init = true);
void end_parser(vw& all);
-
- //The next commands deal with creating examples. Caution: VW does not all allow creation of many examples at once by default. You can adjust the exact number by tweaking ring_size.
-
typedef pair< unsigned char, vector<feature> > feature_space; //just a helper definition.
struct primitive_feature_space { //just a helper definition.
unsigned char name;
feature* fs;
size_t len; };
+ //The next commands deal with creating examples. Caution: VW does not all allow creation of many examples at once by default. You can adjust the exact number by tweaking ring_size.
+
/* The simplest of two ways to create an example. An example_line is the literal line in a VW-format datafile.
*/
example* read_example(vw& all, char* example_line);