Created
October 23, 2013 16:26
-
-
Save Tethik/7121861 to your computer and use it in GitHub Desktop.
Hmm3 example cases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
rows[0] = "4 4 0.0 0.8 0.1 0.1 0.1 0.0 0.8 0.1 0.1 0.1 0.0 0.8 0.8 0.1 0.1 0.0"; | |
rows[1] = "4 4 0.9 0.1 0.0 0.0 0.0 0.9 0.1 0.0 0.0 0.0 0.9 0.1 0.1 0.0 0.0 0.9"; | |
rows[2] = "1 4 1.0 0.0 0.0 0.0"; | |
rows[3] = "4 1 1 2 2"; | |
*/ | |
/* | |
* Umbrella world: | |
*/ | |
/* | |
rows[0] = "2 2 0.7 0.3 0.3 0.7"; | |
rows[1] = "2 2 0.9 0.1 0.2 0.8"; | |
rows[2] = "1 2 0.5 0.5"; | |
rows[3] = "5 0 0 1 0 0"; | |
*/ | |
/* | |
* My own test | |
*/ | |
// rows[0] = "3 3 0.1 0.2 0.7 0.7 0.0 0.3 0.0 0.7 0.3"; | |
// rows[1] = "3 2 1.0 0.0 0.0 1.0 1.0 0.0"; | |
// rows[2] = "1 3 1.0 0.0 0.0"; | |
// rows[3] = "6 0 1 0 1 0 0"; | |
/* | |
* Toy example: http://homepages.ulb.ac.be/~dgonze/TEACHING/viterbi.pdf | |
*/ | |
// rows[0] = "2 2 0.5 0.5 0.4 0.6"; | |
// rows[1] = "2 4 0.2 0.3 0.3 0.2 0.3 0.2 0.2 0.3"; | |
// rows[2] = "1 2 0.5 0.5"; | |
// rows[3] = "9 2 2 1 0 1 3 2 1 1"; | |
/* | |
* http://www.cs.usfca.edu/~pfrancislyon/courses/640/viterbi.pdf | |
*/ | |
// rows[0] = "3 3 0.25 0.5 0.25 0.25 0.25 0.5 0.5 0.5 0.0"; | |
// rows[1] = "3 4 1.0 0.0 0.0 0.0 0.25 0.5 0.0 0.5 0.25 0.25 0.25 0.25"; | |
// rows[2] = "1 3 0.25 0.5 0.25"; | |
// rows[3] = "3 1 1 2"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment