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@NIRUC-M6600.redmond.corp.microsoft.com>2013-04-05 01:03:48 +0400
committerniruc <niruc@NIRUC-M6600.redmond.corp.microsoft.com>2013-04-05 01:03:48 +0400
commit605dbf1f7a418a41197336aa296d6d27be1f935d (patch)
tree55f284c6c4c7938f6c2bdf4f57526ab780bbea61 /vowpalwabbit/vw.h
parentbf1d9cf00d6a0ddeeeac78cbf43548ec57b3ab29 (diff)
added export_example to library exposed to c#
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r--vowpalwabbit/vw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h
index d4325a7e..a8dcdcb2 100644
--- a/vowpalwabbit/vw.h
+++ b/vowpalwabbit/vw.h
@@ -78,6 +78,9 @@ namespace VW {
//notify VW that you are done with the example.
void finish_example(vw& all, example* ec);
+ primitive_feature_space* export_example(void* e, size_t& len);
+ void releaseFeatureSpace(primitive_feature_space* features, size_t len);
+
inline float get_weight(vw& all, uint32_t index)
{ return all.reg.weight_vector[(index * all.stride) & all.weight_mask];}