Bayes Estimator (best-must-have tattoo!)

버전 1.0.2 (3.04 KB) 작성자: Iman
This class can be used to guess the hidden states that most likely generate N consecutive observations in a Hidden Markov Model.
다운로드 수: 63
업데이트 날짜: 2019/2/11

라이선스 보기

This class can be used to guess the hidden states that most likely generate N consecutive observations in a Hidden Markov Model.

The first method is "maxLikelihood" where the number of hidden states is limited to two (due to the computation issue). The second method is "viterbi" which implements Viterbi algorithm to reduce the search space. In this case, the number of hidden states
can be more than two.

To learn more about Bayes, Hidden Markov Model and Viterbi algorithm, the author recommends the following link:
VIDEO: https://www.youtube.com/watch?v=kqSzLo9fenk

EXAMPLE 1 (check the above video at time 20:20)
transitionsProbabiliy = [0.6 0.4; 0.2 0.8];
emissionProbability = [0.6 0.4; 0.2 0.8];
prior = [1/3 2/3].';
observation = [1 0 1];
[selectedPath, probability4EachPath] = Bayes.maxLikelihood(observation, transitionsProbabiliy, emissionProbability, prior);

EXAMPLE 2 (check the above video at time 22:10)
observation = [1 1 0 0 0 1];
[selectedPath, probabilityPaths] = Bayes.viterbi(observation, transitionsProbabiliy, emissionProbability, prior)

Developed By Iman Moazzen, PhD
YouTube Educator at www.sphackswithiman.com
Affiliate Assistant Professor, Concordia University, Canada
Senior Applied Researcher at PAI Health, Vancouver
Please contact me at imanmoaz@gmail.com

True confession:
If I were to get a tattoo, it would be Bayes theorem for sure! I am truly in ah every single time I've seen its application!

인용 양식

Iman (2024). Bayes Estimator (best-must-have tattoo!) (https://www.mathworks.com/matlabcentral/fileexchange/70226-bayes-estimator-best-must-have-tattoo), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Simulation, Tuning, and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.2

code update!

1.0.0