Skip to main content

Posts

Showing posts from 2019
Cli.java won't compile in jahmm Problem: When you compile Cli.class in terminal or Eclipse, you may get the following error: Cli.java:27: package be.ac.ulg.montefiore.run.jahmm.io does not exist import be.ac.ulg.montefiore.run.jahmm.io.FileFormatException; ^ Cli.java:54: cannot find symbol symbol : class AbnormalTerminationException 9 more errors Solution: You must to pass parameters to your class. The class takes 5 parameters which are: Parameter 1: should be one of the following: create:  creates a new HMM description file, print:  prints a HMM learn-kmeans:   applies the k-Means algorithm learn-bw:  applies the Baum-Welch algorithm generate:    generates an observation sequence given a HMM distance-kl:    computes the distance between two HMMs Parameter 2: -opdf. It takes one of the following: -r: argument describes that HMM will take 4 integers. For example, -r 4 means that HMM takes  0.25 0.25 0.25 0.25 observations probab