예제 #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);