Esempio n. 1
0
 public HMM(HMM h) : this(modshogunPINVOKE.new_HMM__SWIG_6(HMM.getCPtr(h)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public void set_models(HMM p, HMM n)
 {
     modshogunPINVOKE.FKFeatures_set_models(swigCPtr, HMM.getCPtr(p), HMM.getCPtr(n));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void copy_model(HMM l)
 {
     modshogunPINVOKE.HMM_copy_model(swigCPtr, HMM.getCPtr(l));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public void estimate_model_viterbi_defined(HMM train)
 {
     modshogunPINVOKE.HMM_estimate_model_viterbi_defined(swigCPtr, HMM.getCPtr(train));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public void estimate_model_baum_welch_trans(HMM train)
 {
     modshogunPINVOKE.HMM_estimate_model_baum_welch_trans(swigCPtr, HMM.getCPtr(train));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
    public bool compute_relevant_indizes(HMM hmm, SWIGTYPE_p_shogun__T_HMM_INDIZES hmm_idx)
    {
        bool ret = modshogunPINVOKE.TOPFeatures_compute_relevant_indizes(swigCPtr, HMM.getCPtr(hmm), SWIGTYPE_p_shogun__T_HMM_INDIZES.getCPtr(hmm_idx));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
    public bool append_model(HMM append_model)
    {
        bool ret = modshogunPINVOKE.HMM_append_model__SWIG_1(swigCPtr, HMM.getCPtr(append_model));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 8
0
    public bool append_model(HMM append_model, SWIGTYPE_p_double cur_out, SWIGTYPE_p_double app_out)
    {
        bool ret = modshogunPINVOKE.HMM_append_model__SWIG_0(swigCPtr, HMM.getCPtr(append_model), SWIGTYPE_p_double.getCPtr(cur_out), SWIGTYPE_p_double.getCPtr(app_out));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 9
0
 public FKFeatures(int size, HMM p, HMM n) : this(modshogunPINVOKE.new_FKFeatures__SWIG_1(size, HMM.getCPtr(p), HMM.getCPtr(n)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 10
0
 public TOPFeatures(int size, HMM p, HMM n, bool neglin, bool poslin) : this(modshogunPINVOKE.new_TOPFeatures__SWIG_1(size, HMM.getCPtr(p), HMM.getCPtr(n), neglin, poslin), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 11
0
 public void set_observations(StringWordFeatures obs, HMM hmm)
 {
     modshogunPINVOKE.HMM_set_observations__SWIG_0(swigCPtr, StringWordFeatures.getCPtr(obs), HMM.getCPtr(hmm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }