Skip to content

Commit c6e27d4

Browse files
author
Hamid Gasmi
committed
Hidden Markow Models description is updated
1 parent 2ca5658 commit c6e27d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4445,6 +4445,9 @@
44454445
- Related Problems:
44464446
- [Probability of a Path in an HMM](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/issues/181)
44474447
- [Probability of an Outcome Given a Hidden Path](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/issues/182)
4448+
- [Finding an Optimal Hidden Path](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/issues/183)
4449+
- [Likelihood of an Outcome](https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/issues/184)
4450+
44484451
- For more details:
44494452
- UC San Diego Course:[]()
44504453

@@ -4555,6 +4558,13 @@
45554558

45564559
</details>
45574560

4561+
<details>
4562+
<summary>Max Product of terms</summary>
4563+
4564+
- When we need to compute the max of product of terms: `M = max(term_i0 * term_i1 * ...)`
4565+
- To avoid any **stackoverflow** error due to the product operation, it's better to compute the logarithm of M:
4566+
- `max(term_i0 * term_i1 * ...)` is then equivalent to `max(log(term_i0) + log(term_i1) + ...)`
4567+
45584568
---
45594569

45604570
## References

0 commit comments

Comments
 (0)