Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 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();
     }
 }
Ejemplo n.º 3
0
 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();
     }
 }
Ejemplo n.º 4
0
 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();
     }
 }
Ejemplo n.º 5
0
 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();
     }
 }
Ejemplo n.º 6
0
 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();
     }
 }
Ejemplo n.º 7
0
 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();
     }
 }
Ejemplo n.º 8
0
 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();
     }
 }
Ejemplo n.º 9
0
 public RealFeatures(RealFeatures orig) : this(modshogunPINVOKE.new_RealFeatures__SWIG_2(RealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 10
0
 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();
     }
 }
Ejemplo n.º 11
0
 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();
     }
 }
Ejemplo n.º 12
0
 public StreamingRealFeatures(RealFeatures simple_features) : this(modshogunPINVOKE.new_StreamingRealFeatures__SWIG_3(RealFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 13
0
 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();
     }
 }