2- nPLS

nPLS1 is a regression model between the an n-way array X of predictors and a predictand vector y.

This model has proven particularly parsimonious and robust with respect to its two-way equivalent PLS1 applied to the matricised form of the array (also referred to as "unfoldPLS" or "multiwayPLS") when modelling multilinear data especially for analytical purposes.

No preliminary steps are required apart from having loaded or imported an X array and a matrix Y.

For a scientific overview of the method, click here.

Compute an nPLS1 model, an example

  • A waitbar appears and is updated at each model computed.
    After a few seconds, the waitbar and the "nPLS Model" window disappear and only the main CuBatch window remains.
    In the InfoBox are now visible some information on the computed nPLS model.
    Note that both the 'Use model' and the 'Results' menus are now active.


Compute and full cross-validate an nPLS1 model

 

    


Apply to a new set of data

Applying the model to new data is relatively simple and straightforward:

  1. Click on the Use Model -> Projection menu
  2. If more than one model is present the rank to be used is asked in a requester.
    As the subsequent warning says

    the choice affects the models present in memory: only the selected one is kept, the others are lost. Before proceeding, it may be a good idea to make sure that the results so far are saved (unless otherwise decided).
    In case the model is to be used later in the 'plant' mode this step is necessary, as only one model shall be present in such operational mode.
  3. Select the file with the external set (in case if have none, you can create one by exporting one or two samples from the fluorescence data set).
  4. After a few seconds a the calculations are completed and the explained variation plot appears.
    The InfoBox shows some basic information on the new data and on the applied model:


     
  5. At this point the plots are available for the new set of data. See Display results

Some additional notes for on-line applications

It is possible to apply nPLS1 for batch process monitoring: in such case it is possible that the imported sample is not complete (that is to say: the last mode dimension is smaller than for the calibration/NOC data set). The user is then asked the user is asked (only in the 'advanced' mode, the 'plant' user is not given access to this option) which fill-in mode is desired. 'Current variation' is the default.

After the computations are over the InfoBox shows also the fill-in method employed for this external set.

This option is not available unless the last mode is given name 'time' (case insensitive)


Bootstrap options
In case one wants to employ bootstrapping, after having checked the Validation button, the 'Bootstrap' check-box needs be selected.

The 'Preferences' -> 'Bootstrap' menu will then be active (in green) and on the "nPLS Model" window a new object asking for the number of bootstrap replicates appears (marked in red).

Two types of bootstrap are implemented, the naïve bootstrap and the residual bootstrap (see the literature for more details on the methods).

The 'Start' button does not become active until the number of replicates is defined.

After the model has been computed and validated the 'Results' menu is updated.


Preprocessing
To preprocess the data click on the 'Preprocessing' button. The following window will appear:

Three types of scaling are available: using the Standard Deviation, using the Root Mean Squared value or using the Frobenius norm.
As the nPLS1 uses only vectors as predictands it is possible to centre and scale Y only in one mode.
Note that the preprocessing is handled according to the nprocess function. For details on preprocessing of multiway array check the literature. In brief, remember that the centring is made 'across' the specified mode while the scaling is done 'within' a certain mode.
NB using nprocess it is not possible to achieve columnwise autoscale as the scaling is performed slabwise.

 

Back to PLS Go to IV-PCA

Back to regression