1 / 5

Lecture 6 Dynamic Programming

Lecture 6 Dynamic Programming. Example 4 Viterbi’s Algorithm. Consider a simplified version of a voice recognition problem Goal: Given n segments of sounds, output the phonemes (e.g. /ˈ foʊniːm / ) each sound might represent one of k phonemes.

edwardi
Download Presentation

Lecture 6 Dynamic Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lecture 6 Dynamic Programming

  2. Example 4 Viterbi’s Algorithm • Consider a simplified version of a voice recognition problem • Goal: Given n segments of sounds, output the phonemes (e.g. /ˈfoʊniːm/)each sound might represent one of k phonemes. • Input: For each sound segment, a list of scores for the k phonemes. For every pair of phonemes, a score for how likely one comes after the other • Goal: Find a sequence of phonemes that has the highest score.

  3. Example • n = 3, k = 2 • Input: • Optimal solution: 1 2 1Score = (5 + 3 + 4) + (5 + 4) = 21

  4. Example 5:Max Independent Set on Trees • Input: a tree • Independent Set: Set of nodes that are not connected by any edges • Goal: Find an independent set of maximum size.

  5. Max Independent Set on Trees • Input: a tree • Independent Set: Set of nodes that are not connected by any edges • Goal: Find an independent set of maximum size.

More Related