Applying a Model Quick Start: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Bob
(New page: Congratulations! You have collected calibration data and gone through the exercise of building a model that meets your objectives. Now, you want to apply one of the stiffest tests - appl...)
 
imported>Bob
No edit summary
Line 1: Line 1:
Congratulations!  You have collected calibration data and gone through the exercise of building a model that meets your objectives.  Now, you want to apply one of the stiffest 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.   
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
In this example, there are three variables in the workspace
Line 7: Line 7:
* ''conc'' - concentration data for the validation spectra
* ''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.
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.
 
[[Image:apply_model.012.png]]

Revision as of 19:01, 11 March 2009

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.

File:Apply model.012.png