We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e37a0 commit 19cc44bCopy full SHA for 19cc44b
dynamic_programming/viterbi.nim
@@ -1,4 +1,14 @@
1
# Viterbi
2
+## The Viterbi algorithm is a dynamic programming algorithm
3
+## for obtaining the maximum a posteriori probability estimate
4
+## of the most likely sequence of hidden states
5
+## https://en.wikipedia.org/wiki/Viterbi_algorithm
6
+##
7
+## Time Complexity: O(K2n)
8
+## Space Complexity: O(Kn)
9
+## https://www.cs.cmu.edu/~epxing/Class/10708-20/scribe/lec4_scribe.pdf
10
+
11
12
{.push raises: [].}
13
14
type
0 commit comments