{"action":"closed","issue":{"url":"https://api.github.com/repos/alexsosn/MarslandMLAlgo/issues/1","repository_url":"https://api.github.com/repos/alexsosn/MarslandMLAlgo","labels_url":"https://api.github.com/repos/alexsosn/MarslandMLAlgo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/alexsosn/MarslandMLAlgo/issues/1/comments","events_url":"https://api.github.com/repos/alexsosn/MarslandMLAlgo/issues/1/events","html_url":"https://github.com/alexsosn/MarslandMLAlgo/issues/1","id":251096848,"number":1,"title":"problem in HMMfwd ","user":{"login":"naeimrezaeian","id":7207622,"avatar_url":"https://avatars1.githubusercontent.com/u/7207622?v=4","gravatar_id":"","url":"https://api.github.com/users/naeimrezaeian","html_url":"https://github.com/naeimrezaeian","followers_url":"https://api.github.com/users/naeimrezaeian/followers","following_url":"https://api.github.com/users/naeimrezaeian/following{/other_user}","gists_url":"https://api.github.com/users/naeimrezaeian/gists{/gist_id}","starred_url":"https://api.github.com/users/naeimrezaeian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naeimrezaeian/subscriptions","organizations_url":"https://api.github.com/users/naeimrezaeian/orgs","repos_url":"https://api.github.com/users/naeimrezaeian/repos","events_url":"https://api.github.com/users/naeimrezaeian/events{/privacy}","received_events_url":"https://api.github.com/users/naeimrezaeian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-17T23:07:38Z","updated_at":"2017-08-18T08:27:19Z","closed_at":"2017-08-18T08:27:19Z","body":"hi , \r\nin your sample in observation array has 13 elements \r\n\r\nobs = np.array([3,1,1,3,0,3,3,3,1,1,0,2,2])\r\n\r\nwhy in function HMMfwd  for started at index 0 to index 3 ? The rest of the elements do not need to calculate?\r\n\r\nresult : \r\n`('n=', 4)\r\n('T=', 4)\r\n('s=', 0, 'T=', 1, 'obs=', 1)\r\n('s=', 1, 'T=', 1, 'obs=', 1)\r\n('s=', 2, 'T=', 1, 'obs=', 1)\r\n('s=', 3, 'T=', 1, 'obs=', 1)\r\n*********\r\n('s=', 0, 'T=', 2, 'obs=', 1)\r\n('s=', 1, 'T=', 2, 'obs=', 1)\r\n('s=', 2, 'T=', 2, 'obs=', 1)\r\n('s=', 3, 'T=', 2, 'obs=', 1)\r\n*********\r\n('s=', 0, 'T=', 3, 'obs=', 3)\r\n('s=', 1, 'T=', 3, 'obs=', 3)\r\n('s=', 2, 'T=', 3, 'obs=', 3)\r\n('s=', 3, 'T=', 3, 'obs=', 3)\r\n*********\r\nalpha :\r\n[[ 0.025       0.          0.0005      0.0007728 ]\r\n [ 0.125       0.          0.00178     0.05329992]\r\n [ 0.075       0.          0.000255    0.00877293]\r\n [ 0.0875      0.          0.00025625  0.01164577]]\r\n\r\nc=0.074491419\r\n`\r\nand second question \r\nin this sample what is **alpha,c**?\r\n\r\ntnx \r\n"}}
{"actor":{"display_login":"alexsosn"}}