Demonstration of rbf networks for regression. See rbfComputeBasis for discussion of rbfs. USAGE rbfDemo( dataType, noiseSig, scale, k, cluster, show ) INPUTS dataType - 0: 1D sinusoid 1: 2D sinusoid 2: 2D stretched sinusoid noiseSig - std of idd gaussian noise scale - see rbfComputeBasis k - see rbfComputeBasis cluster - see rbfComputeBasis show - figure to use for display (no display if == 0) OUTPUTS EXAMPLE rbfDemo( 0, .2, 2, 5, 0, 1 ); rbfDemo( 1, .2, 2, 50, 0, 3 ); rbfDemo( 2, .2, 5, 50, 0, 5 ); See also RBFCOMPUTEBASIS, RBFCOMPUTEFTRS Piotr's Computer Vision Matlab Toolbox Version 2.0 Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com] Licensed under the Simplified BSD License [see external/bsd.txt]