Comparemodels and Peaksigmoid: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Scott
No edit summary
 
imported>Mathias
 
Line 1: Line 1:
===Purpose===
===Purpose===
Create summary table of models' performance statistics.
Outputs a sigmoid function.
 


===Synopsis===
===Synopsis===


:[columnkeys columnlabels tablevalues] = comparemodels(models)
:[i0,iw] = peakfind(x,width,tolfac,w,options)
:[columnkeys columnlabels tablevalues] = comparemodels(models,options)
:[i0,iw] = peakfind(x,width,options)
 


===Description===
====Inputs====


Generate a table which summarizes the performance of a set of input models, and also shows their relevant input parameters and options. This is useful for comparing the quality of a set of models.
* '''x''' =  3 element vector where x(1) = coefficient, x(2) = offset and x(3) is equal to the decay constant
The table shows:
* Parameters- parameters and important options from each model (LVs, PCs, gamma, number of points, etc).
* Statistics: (RMSEC/CV/P, # of support vectors, classification error rates as False Pos/Neg Rate average over classes. In all cases, value must be a single value for a given model (no vectors). Models which are not in the supported model list are ignored (see getallowedmodeltypes).


====Inputs====
* '''models''' = a cell array containing one or more models.


====Outputs====
====Outputs====
* '''columnkeys''' = 1 x ncolumn cell array containing keys identifying table columns in order.
* '''columnlabels''' = 1 x ncolumn cell array containing descriptive labels for table columns in order.
* '''tablevalues''' = nmodel x ncolumn cell array containing values.


===Options===


options =  a structure array with the following fields:
* '''display''': [ 'off' | {'on'} ] governs level of display to command window.
* '''plots''': [ 'final' | {'none'} ] governs level of plotting.
* '''category''': [ {'all'} | 'classification' | 'regression'  | 'decomposition' ]  restrict output to models of this category type, or all.


===See Also===


[[modeloptimizer]], [[modeloptimizergui]]
<math>\sqrt{1-e^2}</math>
 
<math>f\left( {{a}_{i}},\mathbf{x} \right)={{x}_{1}}\left[ {{x}_{4}}{{\operatorname{e}}^{\frac{-4\ln \left( 2 \right){{\left( {{a}_{i}}-{{x}_{2}} \right)}^{2}}}{x_{3}^{2}}}}+\left( 1-{{x}_{4}} \right)\left[ \frac{x_{3}^{2}}{{{\left( {{a}_{i}}-{{x}_{2}} \right)}^{2}}+x_{3}^{2}} \right] \right]</math>
 
*'''<math>{\operatorname{d2}\!y\over\operatorname{d2}\!x}</math>'''
 
 
* '''<math>{\operatorname{d}\!y\over\operatorname{d}\!{x}_{i}}</math>'''

Revision as of 13:31, 1 August 2016

Purpose

Outputs a sigmoid function.


Synopsis

[i0,iw] = peakfind(x,width,tolfac,w,options)
[i0,iw] = peakfind(x,width,options)


Inputs

  • x = 3 element vector where x(1) = coefficient, x(2) = offset and x(3) is equal to the decay constant


Outputs