XTAL

is interface to the XTAL regression package.


 
 Synopsis:
  [ypred,nrms,rms0,nmax] = xtal(trn_data,tst_data,method,params)

 Description:
  This function provides Matlab interface to the XTAL regression package. 

  The XTAL package is accessed from Matlab through the program "xtal". 
  Data are exchanged using text files created in the XTAL root directory 
  whenever this function is issued. 
  
  Requirements:
   1. XTAL package is installed. XTAL can be downloaded from
      http://www.ece.umn.edu/users/cherkass/ee8591/software/xtal.html
      
      The STPRtool comes with binaries compiled for Linux and Windows 
      (to run XTAL under Windows it is required that CYGWIN from www.cygwin.com/ 
      is installed).

   2. XTAL root directory and the command line to run XTAL are specified 
      in "xtal_rootdir.m". See "help xtal_rootdir".

      For Linux and Windows the XTAL root directory and the command line are 
      generated automatically. Hence the XTAL interface should work out of the box.  
      If not you have to do both above mentioned steps manually.
 
 Inputs:
  trn_data.X [nDim x nTrnData] training inputs.
  trn_data.y [nTrnData x 1] training outputs.

  tst_data.X [nDim x nTstData] testing inputs.
  tst_data.y [nTstData x 1] testing outputs.

  method [string] Regression method supported by XTAL; it must be 
    one of the following strings: 'ANN1','PPR1','CTM1','KNN1','MRS1' 
  params [nRuns x nParams] Parameters of the selected method. 
    See XTAL documentation for more info.
  verb [1x1] if 1 (default) then progress info is displayed. 

 Outputs:
  ypred [nRuns x nTstData] Predicted test outputs.
  nrms [nRuns x 1] Normalized RMS error for each run.
  rms0 [nRuns x 1] RMS error of the 0-th order model.
  nmax [nRuns x 1] Normalized maximal deviation.

 Example:
  Run test script
    xtal_test


Source: xtal.m