Calculate
Location: ..\cubatch\Model_nPLS1\private\Calculate.m
function
ModelOut = Calculate (ModelIn,ModelName);
Description:
Fills in the ModelOut structure and calls the adequate functions for fitting and
validating an nPLS or PLS model.
Inputs:
ModelIn: ModelIn
structure
ModelName:
'nPLS'
or
'PLS'
depending on the desired model
Outputs:
ModelOut: ModelOut
structure
Called by:
Model_nPLS1\nPLS1Model
Subroutines:
Internal: None
External:
definearray,
definemodelout,
fitmodel,
nplsfit,
nplspred,
nshape,
unfoldcbdataset,
validatemodel
Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 04-Nov-2002 10:41:48
Contact: Giorgio Tomasi, gt@kvl.dk
References