edu.cmu.minorthird.classify.sequential
Class HMM
java.lang.Object
edu.cmu.minorthird.classify.sequential.HMM
public class HMM
- extends java.lang.Object
Constructor Summary |
HMM(java.lang.String[] state,
double[][] amat,
java.util.Hashtable<java.lang.String,java.lang.String> esym,
double[][] emat)
|
Method Summary |
static HMM |
baumwelch(java.util.ArrayList<java.lang.String[]> xs,
java.lang.String[] state,
java.util.Hashtable<java.lang.String,java.lang.String> esym,
double threshold)
|
java.lang.String[] |
convert_Ob_seq(java.lang.String[] x)
|
static double |
exp(double x)
|
static java.lang.String |
fmtlog(double x)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMM
public HMM(java.lang.String[] state,
double[][] amat,
java.util.Hashtable<java.lang.String,java.lang.String> esym,
double[][] emat)
convert_Ob_seq
public java.lang.String[] convert_Ob_seq(java.lang.String[] x)
fmtlog
public static java.lang.String fmtlog(double x)
baumwelch
public static HMM baumwelch(java.util.ArrayList<java.lang.String[]> xs,
java.lang.String[] state,
java.util.Hashtable<java.lang.String,java.lang.String> esym,
double threshold)
exp
public static double exp(double x)