Model Application: Validation Phase: Difference between revisions
imported>Jeremy No edit summary |
imported>Jeremy No edit summary |
||
Line 133: | Line 133: | ||
Also, remember that after you load data into a validation control, you can place your mouse pointer on the control to view not only information about the loaded data, but also, different instructions about working with the control. In the figure below, data has been loaded into the X validation control for a PCA analysis. | Also, remember that after you load data into a validation control, you can place your mouse pointer on the control to view not only information about the loaded data, but also, different instructions about working with the control. In the figure below, data has been loaded into the X validation control for a PCA analysis. | ||
:''Viewing information about loaded data'' | |||
::[[Image:PCA_analysis_xblock_data_loaded_Val.png|260x113px]] | ::[[Image:PCA_analysis_xblock_data_loaded_Val.png|260x113px]] | ||
Line 161: | Line 161: | ||
|} | |} | ||
:''Clicking the model control to apply the model to validation data'' | |||
::[[Image:Clicking_to_apply_model.png|300x71px]] | ::[[Image:Clicking_to_apply_model.png|300x71px]] | ||
Line 168: | Line 168: | ||
After the model is applied to the validation data, you can place your mouse pointer on the Model control to view information about the model. | After the model is applied to the validation data, you can place your mouse pointer on the Model control to view information about the model. | ||
:''Viewing information about the model'' | |||
::[[Image:Information_applied_model.png|322x122px]] | ::[[Image:Information_applied_model.png|322x122px]] | ||
Line 194: | Line 194: | ||
:The figure below shows some of the possible Scores plots for when applying the PCA model that you built during the Calibration phase to validation data. Note that initially, the plots show both the calibration data ([[Image:Calibration_data_legend_Score_plot.png|18x19px]]) and the validation data ([[Image:Validation_data_legend_Scores_plot.png|18x17px]]). | :The figure below shows some of the possible Scores plots for when applying the PCA model that you built during the Calibration phase to validation data. Note that initially, the plots show both the calibration data ([[Image:Calibration_data_legend_Score_plot.png|18x19px]]) and the validation data ([[Image:Validation_data_legend_Scores_plot.png|18x17px]]). | ||
:''Scores plot showing both calibration data and validation data'' | |||
::[[Image:ModelApplication_ValidationPhase.27.1.8.jpg|528x318px]] | ::[[Image:ModelApplication_ValidationPhase.27.1.8.jpg|528x318px]] |
Revision as of 13:03, 29 July 2010
Table of Contents | Previous | Next
Applying the Model in the Test and Validation Phase
Regardless of the analysis method, the Test and Validation phase consists of the same general series of steps:
1. | Loading the validation data and applying the model to the validation data. See Loading the validation data and applying the model to the data. |
2. | Iteratively examining the model by focusing just on the validation data or on the validation data in the context of the calibration data and refining the model by adjusting the confidence limits and/or reducing the model complexity. See Examining and refining the model. |
3. | Saving the model. |
Note: Decomposition and Clustering analysis methods require only x block data to apply the model in the Test and Validation phase. Regression analysis methods require both x block data and y block data. Classification analysis methods require x block data with classes in either X or Y. For simplicity and brevity, this section describes model application during the Test and Validation phase using a simple PCA model; however, all of the general information in this section is applicable for all analysis methods.
Note: For a review of building this example PCA model during the Calibration phase, see Building the Model in the Calibration Phase.
Note: To review a detailed description of the Test and Validation phase, see Chapter 12, "Analysis Phases," on page 69.
Loading the validation data and applying the model to the data
You have a variety of options for opening an Analysis window and loading data. Because these methods have been discussed in detail in other areas of the documentation, they are not repeated here. Instead, a brief summary is provided with a cross-reference to the detailed information. Simply choose the method that best fits your working needs.
|
|
|
|
- Note: For information about working with icons in the Workspace Browser, see Icons in the Workspace Browser.
|
|
|
|
|
- Note: For information about the data manipulation options on the context menu, see Icons in the Workspace Browser or Importing Data into the Workspace Browser. For information about loading items from the Model Cache pane, see Analysis window Model Cache pane.
Also, remember that after you load data into a validation control, you can place your mouse pointer on the control to view not only information about the loaded data, but also, different instructions about working with the control. In the figure below, data has been loaded into the X validation control for a PCA analysis.
- Viewing information about loaded data
After you have opened the Analysis window and loaded the validation data, you then apply the model to the validation data. To apply the model to the validation data, you can do one of the following:
|
- Clicking the model control to apply the model to validation data
After the model is applied to the validation data, you can place your mouse pointer on the Model control to view information about the model.
- Viewing information about the model
Examining and refining the model
After the model is applied, the most relevant plots to create are Scores plots. (Remember, nothing has changed about the Eigenvalues, nothing has changed about the loads and variable statistics - all you have done is apply the model to validation data.)
Note: The examples listed here are not meant to be an exhaustive list of all of the available Plot Controls options for refining a model using a Scores plot. Instead, it is simply to provide representative examples of some of the more commonly used options when applying a model.
1. | On the Analysis window toolbar.click the Plot scores and sample statistics button . |
- The figure below shows some of the possible Scores plots for when applying the PCA model that you built during the Calibration phase to validation data. Note that initially, the plots show both the calibration data () and the validation data ().
- Scores plot showing both calibration data and validation data
2. | Double-click on a plot of interest in the multiplot Figure window to open the plot in its own Figure window, or you can select the plot in the multiplot Figure window, and on the Plot Controls window, click View > Subplots. |
3. | With the plot of interest now open in its own Figure window, you can now do one or more of the following to refine the model: |
|
Note: You should review a variety of plots with just the validation data, and then with both the validation data and calibration data to ensure that your validation data has the same distribution as your calibration data. For example, plot the Q Residuals versus the T^2 values for the validation data alone, then click the Show Cal Data with Test option to add the calibration data to this plot to confirm that your validation samples cover the same "space" (low Q/low T^2) that your calibration samples cover.
|
|
4. | After you are satisfied with the model, save the model. |