Release Notes Solo Predictor Version 2 3 and Evriscript: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Jeremy
(Created page with '==Changes and Bug Fixes in Version 2.3== ===High-level Changes=== * Updated to be compatible with PLS_Toolbox/Solo 6.0 * Add ability to '''[[Solo_Predict…')
 
imported>Donal
(Created page with '===Purpose=== EVRISCRIPT objects allow calling various PLS_Toolbox operations in an object-oriented way. A script can contain one or more steps, each of which is a separate obje…')
 
Line 1: Line 1:
==Changes and Bug Fixes in Version 2.3==
===Purpose===


===High-level Changes===
EVRISCRIPT objects allow calling various PLS_Toolbox operations in an
* Updated to be compatible with [[Software_User_Guide|PLS_Toolbox/Solo 6.0]]
object-oriented way. A script can contain one or more steps, each of
* Add ability to '''[[Solo_Predictor_Reference_Manual#Log_File|make backups of log file]]''' (if desired) rather than just rolling over
which is a separate object with its own inputs and outputs. Each step is
* Discontinue limitation on number of clients
defined by a keyword which represents the type of step (known as a
* Make '''[[Solo_Predictor_Reference_Manual#Server_Connection_Options|maxclients option]]''' visible in defaults.xml file (so user can modify as needed)
module) to perform.
* Add ability to call allowed objects (DataSet, evriscript, evrigui)
* Allow for nested modelselector models
* Add '''[[Solo_Predictor_Reference_Manual#User_Timers|usertimers]]''' and connection into usertimers in default.xml
* Allow assignments to properties and indexing of objects:  options.initmode = '[2]'
* Allow variable indexing into cell arrays:  mode = '[2]'; model.tsqs{mode}


===Low-level Changes and Bug Fixes===
===Synopsis===
* Allow requesting and returning of empty values
 
* Allow EOL to end a comment (in addition to a ; )
:myscript = evriscript(keyword,keyword,...);  % create a script with two or more steps
* Don't look for y-variables if DSO labels are empty
 
* Don't make figures visible before grabbing (allows hidden figures to stay that way)
===Description===
* Change "figureall" command to be "figure all" and add new "figure list" command in place of "figure" command
====Creating a script====
* Make "figure" command return CURRENT non-hidden-handled figure (whatever it is)
Call evriscript with parameters indicating the sequence of steps to
perform, each step indicated by its keyword. The list of available
step keywords is given by the command:  evriscript_module('showall')
Example, myscript = evriscript( 'pls', 'crossval', 'choosecomp', 'pls');
  evriscript(keyword,keyword,...)
 
'myscript' is an evriscript object. The script steps are evriscript_step
objects which can be accessed by indexing, 'myscript(1)', for example.
 
The individual steps' properties are then configured. Most steps have
more than one 'step_mode', for example 'calibrate', 'apply' or 'test'.
You can see which step_modes are avaialable for a step by entering
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:36, 16 November 2010

Purpose

EVRISCRIPT objects allow calling various PLS_Toolbox operations in an 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.

Synopsis

myscript = evriscript(keyword,keyword,...);  % create a script with two or more steps

Description

Creating a script

Call evriscript with parameters indicating the sequence of steps to perform, each step indicated by its keyword. The list of available step keywords is given by the command: evriscript_module('showall') Example, myscript = evriscript( 'pls', 'crossval', 'choosecomp', 'pls');

  evriscript(keyword,keyword,...)

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

The individual steps' properties are then configured. Most steps have more than one 'step_mode', for example 'calibrate', 'apply' or 'test'. You can see which step_modes are avaialable for a step by entering 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'.