Evriscript and Release Notes Model Exporter Version 3 2: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Donal
No edit summary
 
imported>Jeremy
(Created page with "Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see Model_Exporter_User_Guide. ==NEW FEATURES / FIXES== * Add support for non-...")
 
Line 1: Line 1:
===Purpose===
Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see [[Model_Exporter_User_Guide]].


EVRISCRIPT objects allow calling various PLS_Toolbox operations in an
==NEW FEATURES / FIXES==
object-oriented way. A script can contain one or more steps, each of
which is a separate object with its own inputs and outputs. Each step is
defined by a keyword which represents the type of step (known as a
module) to perform.


===Description===
* Add support for non-negative least squares CLS models IF outputting to m-file format (requires function be enabled as sub-functions are added to accomplish the NNLS calculation)
====Creating a script====
* Add support for approximate nearest neighbor distance via distancemetric option. This is an approximation of the NN distance, but is NOT exact.
Call evriscript with parameters indicating the sequence of steps to
* Add support for application of most preprocessing methods to MATRICES
perform, each step indicated by its keyword. The list of available
** Allows use of PLS, PCR, PCA, CLS, and PLSDA on x-block of MATRICES (not just vectors) with basically all supported preprocessing methods
step keywords is given by the command:  evriscript_module('showall')
* Add basic support for arithmetic on X-block (only - undo on y-block not supported)
Example, myscript = evriscript( 'pls', 'crossval', 'choosecomp', 'pls');
* Change "prob" to "probs" in SVMDA so it matches PLSDA outputs
  myscript = evriscript(keyword,keyword,...); % create a script with two or more steps
* Fix bug where placeholder variables were not removed from data if SavGol preprocessing was the one and only preprocessing method
* Fix bug which would lead to indexing error in SavGol preprocessing if variables at the END of the spectrum are excluded
   


'myscript' is an evriscript object. The script steps are evriscript_step
===Model Interpreter===
objects which can be accessed by indexing, 'myscript(1)', for example.


The individual steps' properties are then configured. Most steps have
* Allow input of matrix instead of just vectors (some methods support applying to matrix)
more than one 'step_mode', for example 'calibrate', 'apply' or 'test'.
* Force numeric conversion to be done expecting period as decimal separator (resolves problems interpreting models on systems set to other numeric formats like in France)
You can see which step_modes are avaialable for a step by entering
* Move math steps into new MEMath object (simplifies code - exposes mathematical operations to caller)
myscript(1).step_module.
This also shows the required and optional properties associated with the
step for each step_mode. The 'calibrate' step_mode lists required
properties as: 'x', 'y', and 'ncomp'.

Revision as of 15:49, 15 June 2015

Version 3.2 of Model_Exporter was released in June, 2015. For general product information, see Model_Exporter_User_Guide.

NEW FEATURES / FIXES

  • Add support for non-negative least squares CLS models IF outputting to m-file format (requires function be enabled as sub-functions are added to accomplish the NNLS calculation)
  • Add support for approximate nearest neighbor distance via distancemetric option. This is an approximation of the NN distance, but is NOT exact.
  • Add support for application of most preprocessing methods to MATRICES
    • Allows use of PLS, PCR, PCA, CLS, and PLSDA on x-block of MATRICES (not just vectors) with basically all supported preprocessing methods
  • Add basic support for arithmetic on X-block (only - undo on y-block not supported)
  • Change "prob" to "probs" in SVMDA so it matches PLSDA outputs
  • Fix bug where placeholder variables were not removed from data if SavGol preprocessing was the one and only preprocessing method
  • Fix bug which would lead to indexing error in SavGol preprocessing if variables at the END of the spectrum are excluded


Model Interpreter

  • Allow input of matrix instead of just vectors (some methods support applying to matrix)
  • Force numeric conversion to be done expecting period as decimal separator (resolves problems interpreting models on systems set to other numeric formats like in France)
  • Move math steps into new MEMath object (simplifies code - exposes mathematical operations to caller)