Applying a Model Quick Start
Congratulations! You have collected calibration data and gone through the exercise of building a model that meets your objectives. Now, you want to exert one of the most stringent tests - applying your model to new data. If you have just completed the model building process, all that needs to be done is to load some new data as validation data. Another scenario is that you have a model that has been built awhile ago, and you wish to apply it to some new data.
In this example, there are three variables in the workspace
- mymodel - a PLS model that has been built on spectral data to predict a concentration
- spec2 - a new set of spectral data to be used to validate the model
- conc - concentration data for the validation spectra
The concentration data contains values for five separate components. The model mymodel predicts only one of these concentration values. First, click on the icon for mymodel in the PLS_Workspace browser and drag it into the Analysis GUI. You will see the SSQ table populated with values, indicating that the model has been loaded. If the model cache was activated during the course of building the model and remains so, the calibration data will also be loaded. You can see this by noting that the X and Y buttons appear depressed, and when you pass the mouse cursor over either information on the respective data blocks is revealed.
Now that the model has been loaded
click and drag the icon for spec2 in the PLS_Workspace browser into the Analysis GUI; you will be queried on how you want this data loaded - choose "Validation X" click and drag the icon for conc in the PLS_Workspace browser into the Analysis GUI; you will be queried on how you want this data loaded - choose "Validation Y" click on the "Apply Model" button under the Analysis Flowchart