nPLS1Apply
Location: ..\cubatch\Model_nPLS1\nPLS1Apply.m
function
ModelOut = nPLS1Apply (MainFig);
Description:
Applies a certain nPLS1 or PLS1 model (that have just been
calculated or loaded) to a new set of data. The new data is loaded via the
load_extdata function.
The predicted variable is selected via the submenu to the
'Apply model'->'projection'
menu of the main window
If more than one model is available a listbox requester appears requesting
selection of the model's complexity (which is permanent for the current session
- i.e. the ModelOut.model and ModelOut.validation hold in the memory contain
only the chosen model).
The results are saved in the
'prediction'
field of ModelOut.
Inputs:
MainFig: main CuBatch window handle.
Outputs:
ModelOut: ModelOut
structure (it can be modified depending on the selection, see
Description)
Called by:
Dispatch_Apply
Subroutines:
Internal: None
External:
applymodel,
load_extdata,
nplspred,
unfoldcbdataset
Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 16-Oct-2002 13:25:22
Contact: Giorgio Tomasi, gt@kvl.dk
References