public virtual void get_vector_and_label(SWIGTYPE_p_VwExample ex, SWIGTYPE_p_int len, SWIGTYPE_p_double label) { modshogunPINVOKE.StreamingFile_get_vector_and_label__SWIG_13(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public float compute_exact_norm(SWIGTYPE_p_VwExample ex, SWIGTYPE_p_float sum_abs_x) { float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex), SWIGTYPE_p_float.getCPtr(sum_abs_x)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual float dense_dot_truncated(SWIGTYPE_p_float vec2, SWIGTYPE_p_VwExample ex, float gravity) { float ret = modshogunPINVOKE.StreamingVwFeatures_dense_dot_truncated(swigCPtr, SWIGTYPE_p_float.getCPtr(vec2), SWIGTYPE_p_VwExample.getCPtr(ex), gravity); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual float predict_and_finalize(SWIGTYPE_p_VwExample ex) { float ret = modshogunPINVOKE.VowpalWabbit_predict_and_finalize(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int read_dense_features(SWIGTYPE_p_CIOBuffer buf, SWIGTYPE_p_VwExample ae) { int ret = modshogunPINVOKE.VwParser_read_dense_features(swigCPtr, SWIGTYPE_p_CIOBuffer.getCPtr(buf), SWIGTYPE_p_VwExample.getCPtr(ae)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual SWIGTYPE_p_VwExample get_example() { IntPtr cPtr = modshogunPINVOKE.StreamingVwFeatures_get_example(swigCPtr); SWIGTYPE_p_VwExample ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_VwExample(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(SWIGTYPE_p_VwExample obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public int read_dense_features(SWIGTYPE_p_CIOBuffer buf, SWIGTYPE_p_VwExample ae) { int ret = modshogunPINVOKE.VwParser_read_dense_features(swigCPtr, SWIGTYPE_p_CIOBuffer.getCPtr(buf), SWIGTYPE_p_VwExample.getCPtr(ae)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual void get_vector_and_label(SWIGTYPE_p_VwExample ex, SWIGTYPE_p_int len, SWIGTYPE_p_double label) { modshogunPINVOKE.StreamingFile_get_vector_and_label__SWIG_13(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public virtual float dense_dot_truncated(SWIGTYPE_p_float vec2, SWIGTYPE_p_VwExample ex, float gravity) { float ret = modshogunPINVOKE.StreamingVwFeatures_dense_dot_truncated(swigCPtr, SWIGTYPE_p_float.getCPtr(vec2), SWIGTYPE_p_VwExample.getCPtr(ex), gravity); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_VwExample obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public float compute_exact_norm(SWIGTYPE_p_VwExample ex, SWIGTYPE_p_float sum_abs_x) { float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex), SWIGTYPE_p_float.getCPtr(sum_abs_x)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual float predict_and_finalize(SWIGTYPE_p_VwExample ex) { float ret = modshogunPINVOKE.VowpalWabbit_predict_and_finalize(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }