1 4.7 TIME ALIGNMENT AND NORMALIZATION Linear time normalization:

Slides:



Advertisements
Similar presentations
4.1- Plot Points in a Coordinate Plane
Advertisements

Preview Warm Up California Standards Lesson Presentation.
 Review: The Greedy Method
Markov Decision Process
ESSENTIAL CALCULUS CH11 Partial derivatives
Deterministic Dynamic Programming.  Dynamic programming is a widely-used mathematical technique for solving problems that can be divided into stages.
2D Viewing and Projection
X y (x,y) x - coordinate y - coordinate. How are coordinates helpful?
CHAPTER 6 Introduction to Graphing and Statistics Slide 2Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc. 6.1Tables and Pictographs 6.2Bar Graphs.
1 Tardiness Models Contents 1. Moor’s algorithm which gives an optimal schedule with the minimum number of tardy jobs 1 ||  U j 2. An algorithm which.
MIT and James Orlin © Dynamic Programming 2 –Review –More examples.
Optimization Linear Programming and Simplex Method
Branch and Bound Algorithm for Solving Integer Linear Programming
Objective The student will be able to: graph ordered pairs on a coordinate plane.
So far: Historical introduction Mathematical background (e.g., pattern classification, acoustics) Feature extraction for speech recognition (and some neural.
Analysis of Constrained Time-Series Similarity Measures
Edge Linking & Boundary Detection
Fundamentals of Algorithms MCS - 2 Lecture # 7
Dynamic Programming Key characteristic of a Dynamic Program: Breaking up a large, unwieldy problem into a series of smaller, more tractable problems. Shortest.
The Cartesian Coordinate System and Linear Equations in Two Variables
Graphing. 2. Coordinate Plane 3. Grid 4. Lattice Points 1. Number Line.
3D polygonal meshes watermarking using normal vector distributions Suk-Hawn Lee, Tae-su Kim, Byung-Ju Kim, Seong-Geun Kwon.
Dynamic Programming Applications Lecture 6 Infinite Horizon.
Mobile Agent Migration Problem Yingyue Xu. Energy efficiency requirement of sensor networks Mobile agent computing paradigm Data fusion, distributed processing.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Evaluation Decoding Dynamic Programming.
Tuesday, April 30 Dynamic Programming – Recursion – Principle of Optimality Handouts: Lecture Notes.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
Thursday, May 2 Dynamic Programming – Review – More examples Handouts: Lecture Notes.
OPTIMAL CONNECTIONS: STRENGTH AND DISTANCE IN VALUED GRAPHS Yang, Song and David Knoke RESEARCH QUESTION: How to identify optimal connections, that is,
Foundation of the Simplex Method.  Constraints Boundary Equations  Graphical approach is very limited based on number of variables. The simplex method.
Signal & Weight Vector Spaces
Performance Surfaces.
Reinforcement Learning Dynamic Programming I Subramanian Ramamoorthy School of Informatics 31 January, 2012.
1 Dynamic Time Warping and Minimum Distance Paths for Speech Recognition Isolated word recognition: Task : Want to build an isolated ‘word’ recogniser.
1 Optimization Linear Programming and Simplex Method.
CS 312: Algorithm Analysis Lecture #27: Network Flow This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.Creative.
1/16 Dynamic Programming Carmine Casciato MUMT 611 Thursday March 31 st 2005.
Prof. Yu-Chee Tseng Department of Computer Science
Preview Warm Up California Standards Lesson Presentation.
Graphs and Applications of Linear Equations
Graphing Linear Equations
Graphing Linear Equations
Objective The student will be able to:
4.7 TIME ALIGNMENT AND NORMALIZATION
Locate Points on a Coordinate Plane
LECTURE 15: HMMS – EVALUATION AND DECODING
Graphing in the Coordinate Plane
The Coordinate Plane Chapter 2 Integers pg. 88.
The Functional Space of an Activity Ashok Veeraraghavan , Rama Chellappa, Amit Roy-Chowdhury Avinash Ravichandran.
The Coordinate Plane -5 5.
Objective The student will be able to:
Slope and Rate of Change
LECTURE 14: HMMS – EVALUATION AND DECODING
4.7 TIME ALIGNMENT AND NORMALIZATION
Dynamic Time Warping and training methods
Graphing Linear Functions
Objective - To graph ordered pairs on the coordinate plane.
Chapter 3 Graphs and Functions.
Geometry: Parallel and Perpendicular Lines
Objective SWBAT define and identify functions
Graphing Linear Equations
An O(n log n)-Time Algorithm for the k-Center Problem in Trees
Solving Equations 3x+7 –7 13 –7 =.
Dynamic Programming 動態規劃
Lesson 2-4 The Coordinate Plane
Lecture 19 Linear Program
Major Design Strategies
The COORDINATE PLANE The COORDINATE PLANE is a plane that is divided into four regions (called quadrants) by a horizontal line called the x-axis and a.
Graphing Linear Equations
Major Design Strategies
Presentation transcript:

1 4.7 TIME ALIGNMENT AND NORMALIZATION Linear time normalization:

2 4.7 TIME ALIGNMENT AND NORMALIZATION

3 m(k): a nonnegative (path) weighting factor M ϕ : a (path) normalizing factor

4 4.7 TIME ALIGNMENT AND NORMALIZATION

Dynamic Programming-Basic Considerations We are interested in obtaining the optimal sequence of moves and the associated minimum cost from any point i to any other point j in As many points as necessary. For every pair of points (i,j) We define to be a nonnegative cost that represents the cost of moving directly from the ith point to the jth point in one step. According to Bellman: An optimal policy has the property that, whatever the initial state and decisions are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decision

Dynamic Programming-Basic Considerations To determine the minimum cost path between points i and j, the following dynamic program is used:

Dynamic Programming-Basic Considerations A recursion allowing the optimal path search to be conducted incrementally

Example: Example: Shortest path from A to E in M=3 moves Shortest path from A to E in M=3 moves 8 A C E B D

A BCD E ∞ AB C D E 2 4 ∞ 8 M=1M=2M=3

∞ 6 ∞ A BCD E 3 AB C D E 2 4 ∞ 8 ∞ ∞ 3 6 M=1M=2M=3

∞ 5 ∞ A BCD E ∞ AB C D E 2 4 ∞ 8 ∞ ∞ 3 6 M=1M=2M=3 ∞ ∞ ∞ 7

Dynamic Programming-Basic Considerations

Dynamic Programming-Basic Considerations 1- Initialization 2- Recursion

Dynamic Programming-Basic Considerations 3- Termination 4- Path backtracking

15 Time-Normalization Constraints Endpoint constraints Endpoint constraints Monotonicity constraints Monotonicity constraints Local continuity constraints Local continuity constraints Global path constraints Global path constraints Slope weighting Slope weighting

Endpoint Constraints

Monotonicity Conditions

Local Continuity Constraints We define a path P as a sequence of moves, each specified by a pair of coordinate increments,

Local Continuity Constraints For a path that begins at (1,1), which point we designate k=1, we normally set (as if the path originates from (0,0)) and have:

Local Continuity Constraints

Global Path Constraints For each type of local constraints, the allowable regions can be Defined using the following two parameters: Normally, Q max =1/Q min

22 Values of and for different types of paths 2ITAKURA 3VII VI 3V 2IV 2III 2II 0I TYPE

Global Path Constraints We can define the global path constraints as follows: The first equation specifies the range of the points in the (i x, i y ) plane that can be reached from the beginning point (1,1) via the allowable path according to the local constraints. The second equation specifies the range of points that have a legal path to the ending pint (T x, T y )

Slope Weighting

Global Path Constraints

Slope Weighting The weighting function can be designed to implement an optimal discriminant analysis for improved recognition accuracy. Set of four types of slope weighting proposed by Sakoe and Chiba

Slope Weighting

Slope Weighting Typically, for types (a) and (b) slope weightings, we arbitrarily set: The Accumulated distortion also requires an overall normalization. Customarily: For type (c) and (d) slope weighting,

Dynamic Time-Warping Solution Due to endpoint constraints, we can write:

Dynamic Time-Warping Solution Similarly, the minimum partial accumulated distortion along a path Connecting (1,1) and (i x, i y ) is:

Dynamic Time-Warping Solution

Dynamic Time-Warping Solution

Dynamic Time-Warping Solution

Dynamic Time-Warping Solution The ratio of grid allowable grid points to all grid points, when a k-to-1 time scale expansion and contraction is allowed: