public void set_sparse_features(SparseRealFeatures seq_sparse1, SparseRealFeatures seq_sparse2) { modshogunPINVOKE.DynProg_set_sparse_features(swigCPtr, SparseRealFeatures.getCPtr(seq_sparse1), SparseRealFeatures.getCPtr(seq_sparse2)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseEuclidianDistance(SparseRealFeatures l, SparseRealFeatures r) : this(modshogunPINVOKE.new_SparseEuclidianDistance__SWIG_1(SparseRealFeatures.getCPtr(l), SparseRealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseRealFeatures(SparseRealFeatures orig) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_6(SparseRealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparsePolyFeatures(SparseRealFeatures feat, int degree, bool normalize, int hash_bits) : this(modshogunPINVOKE.new_SparsePolyFeatures__SWIG_1(SparseRealFeatures.getCPtr(feat), degree, normalize, hash_bits), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }