欢迎来到天天文库
浏览记录
ID:40703627
大小:418.80 KB
页数:9页
时间:2019-08-06
《04_07.04_-_Hidden_Markov_Models_2-2_-_9_slides_05-28》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、NLPIntroductiontoNLPHiddenMarkovModels(cont’d)ObservationLikelihood•GivenmultipleHMMs–e.g.,fordiferentlanguages–Whichoneisthemostlikelytohavegeneratedtheobservationsequence•Naïvesolution–tryallpossiblestatesequencesForwardAlgorithm•Dynamicprogrammingmethod–Compu
2、tingaforwardtrellisthatencodesallpossiblestatepaths.–BasedontheMarkovassumptionthattheprobabilityofbeinginanystateatagiventimepointonlydependsontheprobabilitiesofbeinginallstatesattheprevioustimepointHMMLearning•Supervised–Trainingsequencesarelabeled•Unsupervise
3、d–Trainingsequencesareunlabeled–Knownnumberofstates•Semi-supervised–SometrainingsequencesarelabeledSupervisedHMMLearning•EstimatethestatictransitionprobabilitiesusingMLECount(q=s,q=s)tit+1ja=ijCount(q=s)ti•EstimatetheobservationprobabilitiesusingMLECount(q=s,o=v
4、)ijikb(k)=jCount(q=s)ij•UsesmoothingUnsupervisedHMMTraining•Given:–observationsequences•Goal:–buildtheHMM•UseEM(ExpectationMaximization)methods–forward-backward(Baum-Welch)algorithm–Baum-WelchfindsanapproximatesolutionforP(O
5、µ)OutlineofBaum-Welch•Algorithm–Random
6、lysettheparametersoftheHMM–Untiltheparametersconvergerepeat:•Estep–determinetheprobabilityofthevariousstatesequencesforgeneratingtheobservations•Mstep–reestimatetheparametersbasedontheseprobabilities•Notes–thealgorithmguaranteesthatateachiterationthelikelihoodof
7、thedataP(O
8、µ)increases–itcanbestoppedatanypointandgiveapartialsolution–itconvergestoalocalmaximumNLP
此文档下载收益归作者所有
点击更多查看相关文章~~