3- PARAFAC

A PARAFAC model is an n-linear model fitted on an n-way array. It is a decomposition method and do not require particular preliminary steps.

Several applications exist in the literature for this model, which can be used both as a curve resolution method as well as a regression method (the latter has not been implemented in this software yet).

For more information check the scientific overview, here.

Compute a PARAFAC model, an example

 

 

 

 

 


Compute and full cross-validate a PARAFAC model

 

    


Display results


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 PARAFAC 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 (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 yellow) and on the "PARAFAC 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:
IMP and RIP are not available anymore while the Risk function can still be displayed.

 

 

 

 

 


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.
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.


Advanced options
With the sole exception of the maximum number of iterations in initialisation (for iterative methods), the advanced options are available only when compression and/or dGN algorithm are used. For the meaning of the different options check PARAFACOptions and the literature. The same links can be followed for more specific informations on the standard options.

 

Back to OPA 3D Go to Parafac2

Back to Factor Analysis