Exemple #1
0
 public void set_sparse_feature_matrix(WordSparseMatrix sm)
 {
     modshogunPINVOKE.SparseWordFeatures_set_sparse_feature_matrix(swigCPtr, WordSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public SparseWordFeatures(WordSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseWordFeatures__SWIG_4(WordSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public WordSparseMatrix(WordSparseMatrix orig) : this(modshogunPINVOKE.new_WordSparseMatrix__SWIG_5(WordSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }