Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

Tips for Modeling with Radial Basis Functions

Plan of Attack

Determine which parameters have the most impact on the fit by following these steps:

  1. Fit the default RBF. Remove any obvious outliers.

  2. Get a rough idea of how many RBFs are going to be needed. If a center coincides with a data point, it is marked with a magenta asterisk on the Predicted/Observed plot. You can view the location of the centers in graphical and table format by using the View Centers toolbar button . If you remove an outlier which coincided with a center (marked with an asterisk), refit by clicking Update Fit in the toolbar.

  3. Try with more than one kernel. You can alter the parameters in the fit by clicking the Set Up button in the Model Selection dialog box.

  4. Decide on the main width selection algorithm. Try with both TrialWidths and WidPerDim algorithms.

  5. Determine which types of kernel look most hopeful.

  6. Narrow the corresponding width range to search over.

  7. Decide on the center selection algorithm.

  8. Decide on the lambda-selection algorithm.

  9. Try changing the parameters in the algorithms.

  10. If any points appear to be possible outliers, try fitting the model both with and without those points.

If at any stage you decide on a change that has a big impact (such as removal of an outlier), then you should repeat the previous steps to determine if this would affect the path you have chosen.

See Fitting Routines for details on all the fit parameters.

The Model Browser has a quick option for comparing all the different RBF kernels and trying a variety of numbers of centers.

  1. After fitting the default RBF, select the RBF global model in the model tree.

  2. Click the Build Models toolbar icon .

  3. Select the RBF icon in the Build Models dialog box that appears and click OK.

  4. The Model Building Options dialog box appears. You can specify a range of values for the maximum number of centers, and click Model settings to change any other model settings. The defaults used are the same as the parent RBF model type.

  5. You can select the check box to Build all kernels to create models with the specified range of centers for each kernel type as a selection of child nodes of the current RBF model.

    Note this can take a long time for local models as you will create alternative models with a range of centers for each kernel type for each response feature; once model building is started you can always click Stop to abort if the process is taking too long.

  6. Click Build to create the specified models.

How Many RBFs to Use

Width Selection Algorithms

Which RBF to Use

Lambda Selection Algorithms

Lambda is the regularization parameter.

Center Selection Algorithms

General Parameter Fine-Tuning

Hybrid RBFs

Fitting too many non-RBF terms is made evident by a large value of lambda, indicating that the underlying trends are being taken care of by the linear part. In this case, you should reset the starting value of lambda (to say 0.001) before the next fit.

How to Find RBF Model Formula

With any model you can use the View Model toolbar button or View > Model Definition (or keyboard shortcut CTRL+V) to see the details of the current model. The Model Viewer dialog box appears. Here for any RBF model you can see the kernel type, number of centers, width and regularization parameter.

However to specify the formula of an RBF model completely, you also need to give the locations of the centers, and the height of each basis function. The center location information is available in the "View Centers" dialog box and the coefficients can be found in the "Stepwise" window. Note these values are all in coded units.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS