public static Classifier GetInstance() { global::System.IntPtr cPtr = HelloDllPINVOKE.GetInstance(); Classifier ret = (cPtr == global::System.IntPtr.Zero) ? null : new Classifier(cPtr, false); return(ret); }
protected virtual void Dispose(bool disposing) { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; HelloDllPINVOKE.delete_Classifier(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } } }
public virtual bool Fit() { bool ret = HelloDllPINVOKE.Classifier_Fit(swigCPtr); return(ret); }
public virtual bool Train(int val) { bool ret = HelloDllPINVOKE.Classifier_Train(swigCPtr, val); return(ret); }