Plot_Risk
Location: ..\cubatch\Model_PARAFAC\private\Plot_Risk.m
function
[Axes,MO] = Plot_Risk (PlotStruct,ModelOut,MainFig);
Description:
Plots the risk:

for a the models specified in ModelOut. R is the number of
replicates (I in the 'leave one out' crossvalidation) and F the
number of factors. The tilde identifies the model obtained with the complete set
of sample/batches.
The Risk values are in
ModelOut.validation.stats.risk. If they are not present
they are computed by means of
Compute_Risk.
For the axes specified by
Axes the
'ModelOut'
application-defined data is set, and it contains a copy of ModelOut
(employed
by PARAFACDisplayInfo).
Inputs:
PlotStruct:
PlotStruct structure
ModelOut: ModelOut
structure for the current model
MainFig: main figure handle
Outputs:
Axes: handle of the axes
with the Risk vs F plot.
MO: ModelOut structure with the updated statistic. Empty if no new statistic was computed.
Called by:
Model_PARAFAC\PARAFACActivatePlots
NB. The
actual
call is made from
PARAFACPlot via feval
and not from
Model_PARAFAC\PARAFACActivatePlots.
Subroutines:
Internal: None
External:
compute_risk
Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 03-Nov-2002 19:45:28
Contact: Giorgio Tomasi, gt@kvl.dk
References