Пример #1
0
 public void set_features(StringByteFeatures feat)
 {
     modshogunPINVOKE.WDSVMOcas_set_features(swigCPtr, StringByteFeatures.getCPtr(feat));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
    public bool append_features(StringByteFeatures sf)
    {
        bool ret = modshogunPINVOKE.StringByteFeatures_append_features(swigCPtr, StringByteFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #3
0
 public WDSVMOcas(double C, int d, int from_d, StringByteFeatures traindat, Labels trainlab) : this(modshogunPINVOKE.new_WDSVMOcas__SWIG_2(C, d, from_d, StringByteFeatures.getCPtr(traindat), Labels.getCPtr(trainlab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public HashedWDFeatures(StringByteFeatures str, int start_order, int order, int from_order) : this(modshogunPINVOKE.new_HashedWDFeatures__SWIG_2(StringByteFeatures.getCPtr(str), start_order, order, from_order), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 public SNPFeatures(StringByteFeatures str) : this(modshogunPINVOKE.new_SNPFeatures__SWIG_1(StringByteFeatures.getCPtr(str)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #6
0
 public StringByteFeatures(StringByteFeatures orig) : this(modshogunPINVOKE.new_StringByteFeatures__SWIG_5(StringByteFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }