Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add noisy_spelling_hmm.py #550

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Add noisy_spelling_hmm.py #550

merged 1 commit into from
Jul 7, 2021

Conversation

karalleyna
Copy link
Collaborator

@karalleyna karalleyna commented Jul 7, 2021

Figures

image

Misspelled Words

['BOOV', 'Book', 'bsoK', 'BOYk', 'BOod', 'L-RD', 'biRk', 'BIRd', '-Ifd', 'Bird', 'bOnD', 'bOND', 'BO-d', 'b-BD', 'Be-d', 'boNe', 'Bone', 'BoNE', 'BoN-', 'BonE', 'YANK', 'banK', 'BFnK', '-aNk', 'BaNk', 'Bytt', 'BYtE', 'BY-e', 'ByTE', 'bYTE', 'pond', '--nd', 'p-N-', 'zon-', 'PO-d', 'mind', 'Mind', 'HIND', 'MINd', 'MiND', 'sonG', 'soNG', '-OnJ', 'SoNG', 'soNg', 'BaLd', 'BA-v', '-aNi', 'Vany', 'bVNd']

Steps

  • Mapping from class label to word spellings
  • Genarating the parameters for each HMM
  • Sampling sequences from each class
  • Class-conditional likelihood

@murphyk murphyk merged commit 324cf0d into probml:master Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants