LabView Interface and Variableselectiongui: Difference between pages

From Eigenvector Research Documentation Wiki
(Difference between pages)
Jump to navigation Jump to search
imported>Jeremy
No edit summary
 
imported>Scott
No edit summary
 
Line 1: Line 1:
==Introduction==
==Introduction==


[http://www.ni.com/labview/ National Instruments' LabView software] supports three different interfaces which are compatible with Eigenvector models. Solo_Predictor can be called directly using ActiveX or .NET interfaces. The m-files output by Model_Exporter can be executed natively within LabView, and LabView allows for using PLS_Toolbox by calling directly into Matlab via its ActiveX interface.
The Variable Selection panel contains an interface to several methods for performing variable selection. The goal is to find subsets of variables that improve predictions when compared to using all variables. This interface has several different methods available. Finding the best method and options settings will take some experimentation. Use links below for more information on particular methods.


==Solo_Predictor Interface==
==Methods==
LabView supports both socket, ActiveX, and .NET interfaces, any of which can be used to connect to Solo_Predictor directly. For details on these interfaces and the methods, see the [[EigenvectorTools]] pages. For assistance with scripting Solo_Predictor, see the [[Solo_Predictor User Guide]].


==Model_Exporter Interface==
* Automatic (VIP or sRatio)
LabView, if installed with the National Instruments "MathScript" add-on, is configured to work with m-file models which are output by Model_Exporter. In these cases, you do '''not''' need Matlab to implement an exported model. To learn more about using Model_Exporter with LabView, see the [[Model_Exporter User Guide|Model_Exporter User Guide]].
* GA - Genetic Algorithm
* iPLS - Interval PLS
* rPLS - Recursive PLS
* sRatio - Selectivity Ratio
* VIP - Variable Importance in Projection


==PLS_Toolbox Interface==
==Work Flow==


To make predictions with an Eigenvector model from within Matlab, LabView can be configured to call into Matlab and execute a specific script. This script can call PLS_Toolbox commands, as long as PLS_Toolbox is installed along with Matlab. See [[PLS_Toolbox Unattended Configuration]] for details on configuring PLS_Toolbox for use in unattended situations. For assistance with scripting for these situations, [mailto:helpdesk@eigenvector.com contact our Helpdesk].
* <u>Select a Method</u> - Select a method from the drop-down menu. Options for the method will be displayed. If a previous calculation has been done, the results of it will be displayed.
* <u>Adjust Options</u> - By default, a simplified set of options are displayed. If the "Show All Options" checkbox is selected then all available options will be displayed. Depending on the options set, a particular method can take an extended amount of time to complete. For example, decreasing the window width in GA will increase the amount of time it takes to complete. See documentation for more details on optional settings.
* <u>Run Variable Selection</u> - Clicking the "Execute" button will run the current variable selection method with values specified in the options. A waitbar will be displayed indicating the method is running. Some methods will display a waitbar with a message indicating it can be closed to cancel execution. NOTE: It can take some time for the method to finish a calculation loop and identify the user has canceled. If "Show Plots" is checked then any additional plots will be displayed in separate windows. This is useful for GA as it will show progress of the calculation.
* <u>View Results</u> - When a calculation is complete the selected variables will be displayed under a plot of the data mean as green bars.

Revision as of 14:24, 11 January 2018

Introduction

The Variable Selection panel contains an interface to several methods for performing variable selection. The goal is to find subsets of variables that improve predictions when compared to using all variables. This interface has several different methods available. Finding the best method and options settings will take some experimentation. Use links below for more information on particular methods.

Methods

  • Automatic (VIP or sRatio)
  • GA - Genetic Algorithm
  • iPLS - Interval PLS
  • rPLS - Recursive PLS
  • sRatio - Selectivity Ratio
  • VIP - Variable Importance in Projection

Work Flow

  • Select a Method - Select a method from the drop-down menu. Options for the method will be displayed. If a previous calculation has been done, the results of it will be displayed.
  • Adjust Options - By default, a simplified set of options are displayed. If the "Show All Options" checkbox is selected then all available options will be displayed. Depending on the options set, a particular method can take an extended amount of time to complete. For example, decreasing the window width in GA will increase the amount of time it takes to complete. See documentation for more details on optional settings.
  • Run Variable Selection - Clicking the "Execute" button will run the current variable selection method with values specified in the options. A waitbar will be displayed indicating the method is running. Some methods will display a waitbar with a message indicating it can be closed to cancel execution. NOTE: It can take some time for the method to finish a calculation loop and identify the user has canceled. If "Show Plots" is checked then any additional plots will be displayed in separate windows. This is useful for GA as it will show progress of the calculation.
  • View Results - When a calculation is complete the selected variables will be displayed under a plot of the data mean as green bars.