public virtual void set_features(StreamingDotFeatures feat) { modshogunPINVOKE.OnlineLinearMachine_set_features(swigCPtr, StreamingDotFeatures.getCPtr(feat)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public override float dot(StreamingDotFeatures df) { float ret = modshogunPINVOKE.StreamingIntFeatures_dot__SWIG_1(swigCPtr, StreamingDotFeatures.getCPtr(df)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public OnlineLibLinear(double C, StreamingDotFeatures traindat) : this(modshogunPINVOKE.new_OnlineLibLinear__SWIG_2(C, StreamingDotFeatures.getCPtr(traindat)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }