160 likes | 293 Views
Artificial Neural Networks 0909.560.01/0909.454.01 Fall 2004. Lecture 7 October 25, 2004. Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall04/ann/. Plan. RBF Design Issues K-means clustering algorithm Adaptive techniques ANN Design Issues
E N D
Artificial Neural Networks0909.560.01/0909.454.01Fall 2004 Lecture 7October 25, 2004 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall04/ann/
Plan • RBF Design Issues • K-means clustering algorithm • Adaptive techniques • ANN Design Issues • Input data processing • Selection of training and test data - cross-validation • Pre-processing: Feature Extraction • Approximation Theory • Universal approximation • Lab Project 3
j 1 j 1 1 1 j 1 j 1 0.5 0 -5 5 RBF Network Hidden Layer Input Layer Output Layer x1 y1 Outputs x2 Inputs y2 x3 wij 1 j(t) t
x2 x1 Centers Data points RBF - Center Selection
K-means Clustering Algorithm • N data points, xi; i = 1, 2, …, N • At time-index, n, define K clusters with cluster centers cj(n); j = 1, 2, …, K • Initialization: At n=0, let cj(n)= xj; j = 1, 2, …, K(i.e. choose the first K data points as cluster centers) • Compute the Euclidean distance of each data point from the cluster center, d(xj , cj(n)) = dij • Assign xj to cluster cj(n)if dij = mini,j {dij}; i = 1, 2, …, N, j = 1, 2, …, K • For each cluster j = 1, 2, …, K, update the cluster center cj(n+1)= mean {xjcj(n)} • Repeat until ||cj(n+1)- cj(n)||< e
Train Train Train Test Train Train Test Train Train Test Train Train Test Train Train Train Selection of Training and Test Data: Method of Cross-Validation • Vary network parameters until total mean squared error is minimum for all trials • Find network with the least mean squared output error Trial 1 Trial 2 Trial 3 Trial 4
Feature Extraction Objective: • Increase information content • Decrease vector length • Parametric invariance • Invariance by structure • Invariance by training • Invariance by transformation
Approximation Theory:Distance Measures • Supremum Norm • Infimum Norm • Mean Squared Norm
Recall: Metric Space • Reflexivity • Positivity • Symmetry • Triangle Inequality
K Approximation Theory: Terminology • Compactness • Closure F
E min M f u0 Approximation Theory: Terminology • Best Approximation • Existence Set E ALL f min M u0
F e g f Approximation Theory: Terminology • Denseness
Fundamental Problem E • Theorem 1: Every compact set is an existence set (Cheney) • Theorem 2: Every existence set is a closed set (Braess) min M g ?
F e g f x x1 x2 1 f(x1) f(x2) Stone-Weierstrass Theorem • Identity • Separability • Algebraic Closure F af+bg
Lab Project 3: Radial Basis Function Neural Networks http://engineering.rowan.edu/~shreek/fall04/ann/lab3.html