Пример #1
0
 // features points to a FEATURE_SPACE[]
 public static extern VwExample ImportExample(VwHandle vw, VwFeatureSpace features, SizeT length);
Пример #2
0
 public static extern void Set_Weight(VwHandle vw, SizeT index, SizeT offset, float value);
Пример #3
0
 public static extern SizeT Get_Stride(VwHandle vw);
Пример #4
0
 public static extern uint HashSpace(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)] string s);
Пример #5
0
 public static extern float Learn(VwHandle vw, VwExample example);
Пример #6
0
 public static extern void FinishExample(VwHandle vw, VwExample example);
Пример #7
0
 public static extern IntPtr GetMultilabelPredictions(VwHandle vw, VwExample example, ref SizeT length);
 public static extern void Set_Weight(VwHandle vw, SizeT index, SizeT offset, float value);
 public static extern SizeT Num_Weights(VwHandle vw);
 public static extern float Learn(VwHandle vw, VwExample example);
 public static extern float Get_Weight(VwHandle vw, SizeT index, SizeT offset);
 public static extern uint HashFeature(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)]string s, uint u);
 public static extern uint HashSpace(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)]string s);
Пример #14
0
 public static extern float Predict(VwHandle vw, VwExample example);
Пример #15
0
 public static extern VwExample ReadExample(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)] string exampleString);
 public static extern SizeT Get_Stride(VwHandle vw);
Пример #17
0
 public static extern void EndParser(VwHandle vw);
 public static extern void Finish(VwHandle vw);
Пример #19
0
 public static extern IntPtr GetMultilabelPredictions(VwHandle vw, VwExample example, ref SizeT length);
 // features points to a FEATURE_SPACE[]
 public static extern VwExample ImportExample(VwHandle vw, VwFeatureSpace features, SizeT length);
Пример #21
0
 public static extern float Predict(VwHandle vw, VwExample example);
 public static extern VwFeatureSpace ExportExample(VwHandle vw, VwExample example, ref SizeT length);
Пример #23
0
 public static extern uint HashFeature(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)] string s, uint u);
 public static extern VwExample ReadExample(VwHandle vw, [MarshalAs(UnmanagedType.LPWStr)]string exampleString);
Пример #25
0
 public static extern float Get_Weight(VwHandle vw, SizeT index, SizeT offset);
 public static extern void StartParser(VwHandle vw, [MarshalAs(UnmanagedType.Bool)]bool do_init);
Пример #27
0
 public static extern SizeT Num_Weights(VwHandle vw);
 public static extern void EndParser(VwHandle vw);
Пример #29
0
 public static extern void Finish(VwHandle vw);
 public static extern VwExample GetExample(VwHandle parser);
Пример #31
0
 public static extern VwFeatureSpace ExportExample(VwHandle vw, VwExample example, ref SizeT length);
 public static extern void FinishExample(VwHandle vw, VwExample example);
Пример #33
0
 public static extern void StartParser(VwHandle vw, [MarshalAs(UnmanagedType.Bool)] bool do_init);
 public static extern VwFeature GetFeatures(VwHandle vw, VwExample example, ref SizeT length);
Пример #35
0
 public static extern VwExample GetExample(VwHandle parser);
Пример #36
0
 public static extern void SaveModel(VwHandle vw);
Пример #37
0
 public static extern VwFeature GetFeatures(VwHandle vw, VwExample example, ref SizeT length);
Пример #38
0
 public static extern void SaveModel(VwHandle vw);