File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4445
4445
- Related Problems:
4446
4446
- [ Probability of a Path in an HMM] ( https://github.com/hamidgasmi/training.computerscience.algorithms-datastructures/issues/181 )
4447
4447
- [ 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
+
4448
4451
- For more details:
4449
4452
- UC San Diego Course:[ ] ( )
4450
4453
4555
4558
4556
4559
</details >
4557
4560
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
+
4558
4568
---
4559
4569
4560
4570
## References
You can’t perform that action at this time.
0 commit comments