These are the Assignment of Pattern Recognition which includes Squared Mahalanobis, Weighted Version, Squared Euclidean, Dimensional Binary Patterns, Euclidean Distance, Satisfy Symmetry etc.Key important points are: Four Patterns, Data, Linearly Separable, Labeled Patterns, Transforming and Normalizing, Perceptron Algorithm, Weight Vector
Download Four Patterns - Pattern Recognition - Assignment and more Exercises Computer Science in PDF only on Docsity!
Assignment
Consider a two-class problem. There are five patterns from one class (labeled โXโ ) and four patterns from the second class (la- beled โOโ ). This set of labeled patterns is described in the following table. (a) Show that the data is linearly separable. (b) Show that f 1 = f 2 is a decision boundary. (c) Obtain the weight vector w. Show that it is orthogonal to the decision boundary. (d) Suggest another decision boundary for the data. (e) Compute the distance from the origin (X = (0, 0) t ) to the decision boundary.
By transforming and normalizing the data in the table above, we get the data in the following table. Use perceptron algorithm to learn the weight vector.
Docsity.com
Let _ be the angle between w and X. Show that the value of cos _ is positive if wt^ X > 0.
Consider the three patterns (1, 1) t and (2, 2) t from class โXโ and (2, 0) t from class โOโ. Use perceptron learning algorithm to show that the decision boundary is f 1 โ 3 f 2 โ 1 = 0.
Consider the truth table of Boolean OR given in the following table. There are two classes โ0โ and โ1โ corresponding to the output values 0 and 1 of f 1 f 2 respectively. There is one pattern of class โ0โ and three patterns of class โ1โ. (a) Show that the classes are linearly separable. (b) After transformation and normalization, use the perceptron learning algorithm to obtain the weight vector.