Example #1
0
 public MultiClassSVM(EMultiClassSVM type) : this(modshogunPINVOKE.new_MultiClassSVM__SWIG_1((int)type), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public MultiClassSVM(EMultiClassSVM type, double C, Kernel k, Labels lab) : this(modshogunPINVOKE.new_MultiClassSVM__SWIG_2((int)type, C, Kernel.getCPtr(k), Labels.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
    public EMultiClassSVM get_multiclass_type()
    {
        EMultiClassSVM ret = (EMultiClassSVM)modshogunPINVOKE.MultiClassSVM_get_multiclass_type(swigCPtr);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
 public MultiClassSVM(EMultiClassSVM type, double C, Kernel k, Labels lab) : this(modshogunPINVOKE.new_MultiClassSVM__SWIG_2((int)type, C, Kernel.getCPtr(k), Labels.getCPtr(lab)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #5
0
 public MultiClassSVM(EMultiClassSVM type) : this(modshogunPINVOKE.new_MultiClassSVM__SWIG_1((int)type), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }