Documente Academic
Documente Profesional
Documente Cultură
/Rowan University
Plan
Radial Basis Function Networks
RBF Formulation Network Implementation Matlab Implementation
Design Issues
Center Selection: K-means Clustering Algorithm Input data processing
Selection of training and test data - cross-validation Pre-processing: Feature Extraction
Lab Project 3
RBF Principle
Transform to
higher-dimensional vector space
x2
j2(x)
Decision Boundary
x1
j1(x)
RBF Formulation
Problem Statement
Given a set of N distinct real data vectors (xj; j=1,2,,N) and a set of N real numbers (dj; j=1,2,,N), find a function that satisfies the interpolating condition F(xj) = dj; j=1,2,,N
RBF Network
Input Layer x1 Inputs x2 1 Hidden Layer Output j Layer j j 1 1 wij
1
0.5 0 -5 t 5
y1
Outputs y2 j(t)
1 1
1 j
x3
x i c j 2 2
2
j ij e
Matlab Implementation
%Radial Basis Function Network %S. Mandayam/ECE Dept./Rowan University %Neural Nets/Fall 04 clear;close all; %generate training data (input and target) p = [0:0.25:4]; t = sin(p*pi); %Define and train RBF Network net = newrb(p,t); plot(p,t,'*r');hold; %generate test data p1 = [0:0.1:4]; %test network y = sim(net,p1); plot(p1,y,'ob'); legend('Training','Test'); xlabel('input, p'); ylabel('target, t')
x1
Data points
Centers
For each cluster j = 1, 2, , K, update the cluster center cj(n+1) = mean {xj cj(n)} Repeat until ||cj(n+1) - cj(n)|| < e
Trial 3
Trial 4
Train Train
Test
Vary network parameters until total mean squared error is minimum for all trials Find network with the least mean squared output error
Feature Extraction
Objective:
Increase information content Decrease vector length Parametric invariance
Invariance by structure Invariance by training Invariance by transformation
http://engineering.rowan.edu/~shreek/fall04/ann/lab3.html
Summary