public bool obtain_from_simple(RealFeatures sf) { bool ret = modshogunPINVOKE.SparseRealFeatures_obtain_from_simple(swigCPtr, RealFeatures.getCPtr(sf)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CosineDistance(RealFeatures l, RealFeatures r) : this(modshogunPINVOKE.new_CosineDistance__SWIG_1(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public GeodesicMetric(RealFeatures l, RealFeatures r) : this(modshogunPINVOKE.new_GeodesicMetric__SWIG_1(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public PyramidChi2(RealFeatures l, RealFeatures r, int size, int num_cells2, SWIGTYPE_p_double weights_foreach_cell2, int width_computation_type2, double width2) : this(modshogunPINVOKE.new_PyramidChi2__SWIG_2(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), size, num_cells2, SWIGTYPE_p_double.getCPtr(weights_foreach_cell2), width_computation_type2, width2), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public Chi2Kernel(RealFeatures l, RealFeatures r, double width, int size) : this(modshogunPINVOKE.new_Chi2Kernel__SWIG_2(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), width, size), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ANOVAKernel(RealFeatures l, RealFeatures r, int d, int cache) : this(modshogunPINVOKE.new_ANOVAKernel__SWIG_2(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), d, cache), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public HistogramIntersectionKernel(RealFeatures l, RealFeatures r) : this(modshogunPINVOKE.new_HistogramIntersectionKernel__SWIG_4(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public MinkowskiMetric(RealFeatures l, RealFeatures r, double k) : this(modshogunPINVOKE.new_MinkowskiMetric__SWIG_2(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), k), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public RealFeatures(RealFeatures orig) : this(modshogunPINVOKE.new_RealFeatures__SWIG_2(RealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public GaussianShiftKernel(RealFeatures l, RealFeatures r, double width, int max_shift, int shift_step) : this(modshogunPINVOKE.new_GaussianShiftKernel__SWIG_3(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), width, max_shift, shift_step), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public WeightedDegreeRBFKernel(RealFeatures l, RealFeatures r, double width, int degree, int nof_properties) : this(modshogunPINVOKE.new_WeightedDegreeRBFKernel__SWIG_3(RealFeatures.getCPtr(l), RealFeatures.getCPtr(r), width, degree, nof_properties), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StreamingRealFeatures(RealFeatures simple_features) : this(modshogunPINVOKE.new_StreamingRealFeatures__SWIG_3(RealFeatures.getCPtr(simple_features)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StreamingRealFeatures(RealFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingRealFeatures__SWIG_2(RealFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }