{"id":17131933,"url":"https://github.com/avinashbarnwal/hidden-markov-model","last_synced_at":"2026-07-21T18:38:15.513Z","repository":{"id":84695501,"uuid":"153031328","full_name":"avinashbarnwal/Hidden-Markov-Model","owner":"avinashbarnwal","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-26T19:13:54.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T04:34:00.258Z","etag":null,"topics":["hmm-viterbi-algorithm","r"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avinashbarnwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-15T00:20:51.000Z","updated_at":"2018-10-26T19:13:55.000Z","dependencies_parsed_at":"2023-03-02T11:00:54.313Z","dependency_job_id":null,"html_url":"https://github.com/avinashbarnwal/Hidden-Markov-Model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avinashbarnwal/Hidden-Markov-Model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashbarnwal%2FHidden-Markov-Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashbarnwal%2FHidden-Markov-Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashbarnwal%2FHidden-Markov-Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashbarnwal%2FHidden-Markov-Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avinashbarnwal","download_url":"https://codeload.github.com/avinashbarnwal/Hidden-Markov-Model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashbarnwal%2FHidden-Markov-Model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35734232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hmm-viterbi-algorithm","r"],"created_at":"2024-10-14T19:25:20.983Z","updated_at":"2026-07-21T18:38:15.494Z","avatar_url":"https://github.com/avinashbarnwal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"**Hidden-Markov-Model**\n\nPurpose of this repository is to showcase the idea, mathematics and implementation of HMM. I have used R to show the implementation.\n\n![alt text](https://github.com/avinashbarnwal/Hidden-Markov-Model/blob/master/HMM.png)\n\n[source](https://www.wikiwand.com/en/Hidden_Markov_model)\n\n**Problem Formulation**\n\nThe number of hidden states is unknown. K is the total number hidden states. We assume that given the hidden states \n![equation](http://latex.codecogs.com/gif.latex?Z_i) , ![equation](http://latex.codecogs.com/gif.latex?P%28Y_i%7CZ_i%29%20%5Csim%20N%28%5Cmu_%7BZ_i%7D%2C%5Csigma%5E2_%7BZ_i%7D%29). Assume the input vector ![equation](http://latex.codecogs.com/gif.latex?%28Y_1%2CY_2%2C...%2CY_n%29), goal is to estimate ![equation](http://latex.codecogs.com/gif.latex?%28Z_1%2CZ_2%2C...%2CZ_n%29), where ![equation](http://latex.codecogs.com/gif.latex?Z_i) can take values from 1,2,...,K. \n\nGenerally for state-space modeling with unknown hidden states. Lets K = 2,3,4 or more. We are suppose to estimate suitable K.\nParamters to estimate transition matrix KxK , ![equation](http://latex.codecogs.com/gif.latex?%5Cmu_%7BZ_i%7D)\n\nSteps:-\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinashbarnwal%2Fhidden-markov-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinashbarnwal%2Fhidden-markov-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinashbarnwal%2Fhidden-markov-model/lists"}