Mpca and Release Notes Version 6 7: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Donal
 
imported>Scott
 
Line 1: Line 1:
===Purpose===


Multi-way (unfold) principal components analysis.


===Synopsis===
Version 6.7 of PLS_Toolbox and Solo was released in March, 2012.


:model = mpca(mwa,ncomp,''options'')
For general product information, see [http://www.eigenvector.com/software/pls_toolbox.htm PLS_Toolbox Product Page]. For information on Solo, see [http://www.eigenvector.com/software/solo.htm Solo Product Page].
:model = mpca(mwa,ncomp,preprostring)
:pred = mpca(mwa,model,''options'')


===Description===
(back to [[Release Notes PLS Toolbox and Solo]])


Principal Components Analysis of multi-way data using unfolding to a 2-way matrix followed by conventional PCA.
==NEW FEATURES==


Inputs to MPCA are the multi-way array mwa (class "double" or "dataset") and the number of components to use in the model nocomp. To make predictions with new data the inputs are the multi-way array mwa and the MPCA model model. Optional input ''options'' is discussed below.
===Design Of Experients (DOE) Tools===
* bla


For assistance in preparing batch data for use in MPCA please see [[bspcgui]].
===Other Method Improvements===
* bla
 
===Preprocessing===
* bla
 
===Import / Export===
* bla
 
===DataSet Editor===
* bla


The output model is a structure array with the following fields:
===Plot Controls===
* Selectable plot themes. [[Image:Figbg_color.gif|thumb|| ]]
* bla


* '''modeltype''': 'MPCA',
===[[AnalysisWindow_Layout|Analysis Window]]===
* Show CV results for confusion table when available.
* Improved [[modelcache]] performance and string handling.


* '''datasource''': structure array with information about the x-block,
===[[WorkspaceBrowser_Layout|Workspace Browser]] ===
* Drag Drop - Enable dragging and dropping of system files onto the Browser window as well as to Analysis window. Enhanced highlighting of drop location.


* '''date''': date of creation,
===Command-line Tool Changes===
* bla


* '''time''': time of creation,


* '''info''': additional model information,
==NEW FUNCTIONS AND FILES==


* '''loads''': 1 by 2 cell array with model loadings for each mode/dimension,
*''Full Support for Matlab R2012a''


* '''pred''': cell array with model predictions for each input data block (this is empty if options.blockdetail = 'normal'),
===Misc New Functions===
:[[autoexport]] - Exports a DataSet object to a file of the specified format.
:[[classsummary]] - List class and axisscale distributions for a DataSet.
:[[figuretheme]] - Resets a figure background and axes to a specified color.
:[[meantrimmed]] - Trimmed mean.
:[[mediantrimmed]] - Trimmed median.
:[[windowfilter]] - Spectral filtering.


* '''tsqs''': cell array with T<sup>2</sup> values for each mode,
===Design of Analysis Tools===
:[[anovadoe]]        - Function to perform ANOVA for 2^k factorial model X, Y data


* '''ssqresiduals''': cell array with sum of squares residuals for each mode,
===Other Changes===


* '''description''': cell array with text description of model, and
:[[crossval]] - improved display of classification results, improved integration with model input
 
* '''detail''': sub-structure with additional model details and results.
 
===Options===
 
'''options''' = a structure array with the following fields.
 
* '''display''': [ 'off' | {'on'} ]  governs level of display to command window,
 
* '''plots''': [ 'none' | {'final'} ] governs level of plotting,
 
* '''outputversion''': [ 2 | {3} ] governs output format,
 
* '''preprocessing''': { [] }  preprocessing structure, {default is mean centering i.e. options.preprocessing = preprocess('default', 'mean center')} (see PREPROCESS),
 
* '''algorithm''': [ {'svd'} | 'maf' | 'robustpca' ], algorithm for decomposition, Algorithm 'maf' requires Eigenvector's MIA_Toolbox.
 
* '''confidencelimit''': [ {'0.95'} ], confidence level for Q and T2 limits. A value of zero (0) disables calculation of confidencelimits.
 
* '''roptions''': structure of options to pass to robpca (robust PCA engine from the Libra Toolbox).
 
* '''blockdetails''': [ 'compact' | {'standard'} | 'all' ]  extent of detail in predictions and residuals included in model structure ('standard' results in sum of squared residuals, and 'all' gives all x-block residuals), and
 
* '''samplemode''': [ {3} ]  mode (dimension) to use as the sample mode e.g. if it is 3 then it is assumed that mode 3 is the sample/object dimension i.e. if mwa is 7x9x10 then the scores model.loads{1} will have 10 rows (it will be 10xncomp).
 
The default options can be retreived using: options = mpca('options');.
 
It is also possible to input just the preprocessing option as an ordinary string in place of ''options'' and have the remainder of options filled in with the defaults from above. The following strings are valid:
 
: ''''none'''': no scaling,
 
: ''''auto'''': unfolds array then applies autoscaling,
 
: ''''mncn'''': unfolds array then applies mean centering, or
 
: ''''grps'''': {default} unfolds array then group/block scales each variable, i.e. the same variance scaling is used for each variable along its time trajectory (see GSCALE).
 
MPCA will work with arrays of order 3 and higher. For higher order arrays, the last order is assumed to be the sample order, ''i.e.'' for an array of order ''n'' with the dimension of order ''n'' being ''m'', the unfolded matrix will have ''m'' samples. For arrays of higher order the group scaling option will group together all data with the same order 2 index, for multiway array mwa, each mwa(:,j,:, ... ,:) will be scaled as a group.
 
===See Also===
 
[[analysis]], [[bspcgui]], [[evolvfa]], [[ewfa]], [[explode]], [[parafac]], [[pca]], [[preprocess]]

Revision as of 10:36, 7 March 2012


Version 6.7 of PLS_Toolbox and Solo was released in March, 2012.

For general product information, see PLS_Toolbox Product Page. For information on Solo, see Solo Product Page.

(back to Release Notes PLS Toolbox and Solo)

NEW FEATURES

Design Of Experients (DOE) Tools

  • bla

Other Method Improvements

  • bla

Preprocessing

  • bla

Import / Export

  • bla

DataSet Editor

  • bla

Plot Controls

Analysis Window

  • Show CV results for confusion table when available.
  • Improved modelcache performance and string handling.

Workspace Browser

  • Drag Drop - Enable dragging and dropping of system files onto the Browser window as well as to Analysis window. Enhanced highlighting of drop location.

Command-line Tool Changes

  • bla


NEW FUNCTIONS AND FILES

  • Full Support for Matlab R2012a

Misc New Functions

autoexport - Exports a DataSet object to a file of the specified format.
classsummary - List class and axisscale distributions for a DataSet.
figuretheme - Resets a figure background and axes to a specified color.
meantrimmed - Trimmed mean.
mediantrimmed - Trimmed median.
windowfilter - Spectral filtering.

Design of Analysis Tools

anovadoe - Function to perform ANOVA for 2^k factorial model X, Y data

Other Changes

crossval - improved display of classification results, improved integration with model input