MATLAB Programs and Exercises
Computer Programs
- Competitive learning. Write a MATLAB function named leaky_learn that implements the leaky learning algorithm. This function takes as inputs: (a) an l × N dimensional matrix X each column of which is a data vector, (b) an l × m dimensional matrix w whose columns contain initial estimates of the m representatives, (c) the learning rate for the winner unit, gw, (d) the learning rate for the rest of the units, gl, (e) the maximum number of iterations, (f) the parameter e, which is used in the termination condition of the algorithm (‖w(t) - w(t − 1)‖ < e). The output consists of: (a) the vector w whose columns are the final estimates of the representatives and (b) an N dimensional row vector
Get Pattern Recognition, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.