MIA Toolbox Review Results: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(Created page with ' Previous Topic: Building Models {| border="1" cellpadding="5" cellspacing="0" align="left" |- |valign="top" | [[Image:ImageGUIOpen.png |right| 5…')
 
imported>Scott
No edit summary
Line 3: Line 3:
|-
|-
|valign="top" |
|valign="top" |
[[Image:ImageGUIOpen.png |right| 500px |(Click to Enlarge)]]
[[Image:ImageGUIOpen.png |right| 200px |(Click to Enlarge)]]
After a model has been built, the results window is updated and several buttons on the Analysis Flowchart are activated.  In this example, the model has been built with 4 principal components and we're ready to look at results.  
After a model has been built, the results window is updated and several buttons on the Analysis Flowchart are activated.  In this example, the model has been built with 4 principal components and we're ready to look at results.  


When working with images in MIA_Toolbox, data is actually stored '''"unfolded"''' so numerical methods can properly calculate results. However, when results are display the data are '''"folded"''' back up when appropriate. Click the '''Image GUI''' button to see a quick display of scores on the first 3 PCs.
When working with images in MIA_Toolbox, data is actually stored '''"unfolded"''' so numerical methods can properly calculate results. However, when results are display the data are '''"folded"''' back up when appropriate. Click the '''ImageGUI''' button to see a quick display of scores on the first 3 PCs.
|-
|-
|valign="top" |
|valign="top" |
[[Image:review_results_modelinfo.png|right|500px|(Click to Enlarge)]]
[[Image:ImageGUI.png|right|500px|(Click to Enlarge)]]
By placing your mouse cursor over the '''Model''' button, you will see a summary of the model that has been generated. Double-click the '''Model''' button to view this information in a separate window.
The ImageGUI is a PCA model exploring interface. It allows you to select areas in the image and or in scatter plots of the first 3 PCs. In the image to the right we are able to see where a feature within the image lies in the scores space.


Since this model was built using cross-validation, a red check mark appears in the upper right hand corner of the '''Model''' button; moving the cursor over the check mark reveals the details of the cross-validation.
If you need to explore more than the first 3 PCs the ImageGUI functionality can be recreated using subplots within PlotGUI.
|-
|valign="top" |
[[Image:review_results.008.png|right|500px|(Click to Enlarge)]]
You may wish to change the number of principal components from the suggested number of two.  By clicking on the "Choose Components" button in the Analysis Flowchart, you will be presented with a plot of some statistical figure of merit versus the number of components; in this case for a PCA model, a plot of RMSECV and RMSEC versus the number of principal components appears along with a Plot Controls window.
|-
|valign="top" |
[[Image:review_results.009.png|right|500px|(Click to Enlarge)]]
We decide, at least for the time being, to explore our model using four principal components. In order to update the model, we:


* select the line in the SSQ table for four principal components
* update the model calculation by clicking on the "Build Model" button, which becomes active after selecting a different number of PCs
Note that after selecting four principal components, items in the Analysis Flowchart that were previously accessible are now grayed out.  The '''Model''' button is modified to indicate that the number of components has been changed.  After clicking on the '''"Build Model"''' button in the Analysis Flowchart, the model is updated to reflect extending the model out to four PCs.  The buttons entitled '''"Review Scores"''' and '''"Review Loadings"''' again become active.
|-
|-
|valign="top" |
|valign="top" |
[[Image:review_results.010.png|right|500px|(Click to Enlarge)]]
[[Image:T2SelectionOnImage.png|right|500px|(Click to Enlarge)]]
After clicking on '''"Review Scores"''', we are presented with a multiplot.  The plots shown in this window are analysis-specific; for this PCA model, the following plots are displayed
Opening a standard Scores plot shows Q vs T2, PC 1 vs PC 2, and a "folded" scores image. We can select a region high in T2 on the Q vs T2 plot and see where those points lie in our folded image. Click the Select button in the Plot Controls and select a region high in T2. These points will be highlighted in the other plots.
 
* Q residuals vs. Hotelling's T<sup>2</sup> statistic
* Scores on PC 2 vs. Scores on PC 1
* Scores on PC 1 vs. Sample index
 
Double-clicking on any of the individual plots in the window launches that individual plot in a separate figure window.
 
|-
|valign="top" |
[[Image:review_results.011.png|right|500px|(Click to Enlarge)]]
The Plot Controls window controls many aspects of the current figure, including
 
* changing the current figure
* choosing what data to plot for the x-axis
* choosing what data to plot for the y-axis
* choosing what data, if desired, to plot for the z-axis


|-
|-
|valign="top" |
|valign="top" |
[[Image:review_results.012.png|right|500px|(Click to Enlarge)]]
[[Image:ScoresImagePC2.jpg |right|500px|(Click to Enlarge)]]
Information on the loadings can be displayed by clicking on the "Review Loadings" button in the Analysis Flowchart. As shown here, any plot can be converted into a multiplot by the following steps
Double-clicking on that scores image will open it in a new window where you can explore it using the '''Plot Controls'''. By selecting the PC 2 you can see that it captures the narrow feature in the image.


* select '''"View"''' on the Plot Controls window
* select '''"Subplots"'''
* select the number of subplots
* click on each subplot within the figure to make it current, and use the Plot Controls window to select the data to view for that particular plot


|}
|}
[[Applying a Model Quick Start | Next Topic: Applying a Model]]
[[Applying a Model Quick Start | Next Topic: Applying a Model]]

Revision as of 16:12, 12 October 2009

Previous Topic: Building Models

(Click to Enlarge)

After a model has been built, the results window is updated and several buttons on the Analysis Flowchart are activated. In this example, the model has been built with 4 principal components and we're ready to look at results.

When working with images in MIA_Toolbox, data is actually stored "unfolded" so numerical methods can properly calculate results. However, when results are display the data are "folded" back up when appropriate. Click the ImageGUI button to see a quick display of scores on the first 3 PCs.

(Click to Enlarge)

The ImageGUI is a PCA model exploring interface. It allows you to select areas in the image and or in scatter plots of the first 3 PCs. In the image to the right we are able to see where a feature within the image lies in the scores space.

If you need to explore more than the first 3 PCs the ImageGUI functionality can be recreated using subplots within PlotGUI.

(Click to Enlarge)

Opening a standard Scores plot shows Q vs T2, PC 1 vs PC 2, and a "folded" scores image. We can select a region high in T2 on the Q vs T2 plot and see where those points lie in our folded image. Click the Select button in the Plot Controls and select a region high in T2. These points will be highlighted in the other plots.

(Click to Enlarge)

Double-clicking on that scores image will open it in a new window where you can explore it using the Plot Controls. By selecting the PC 2 you can see that it captures the narrow feature in the image.


Next Topic: Applying a Model