LabView Interface and Vipnway: 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==
===Purpose===


[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.
Calculate Variable Importance in Projection from NPLS model.


==Solo_Predictor Interface==
===Synopsis===
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==
:vip_scores = vipnway(model)
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]].


==PLS_Toolbox Interface==
===Description===


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].
Variable Importance in Projection (VIP) scores estimate the importance of each variable in the projection used in a NPLS model and is often used for variable selection. A variable with a VIP Score close to or greater than 1 (one) can be considered important in given model. Variables with VIP scores significantly less than 1 (one) are less important and might be good candidates for exclusion from the model. It works for X n-way and Y up to two-way and it assume samples are in the first mode.
 
====Inputs====
 
* '''model''' = A NPLS model structure from a NPLS model.
 
====Outputs====
 
* '''vip_scores''' = a cell array with dimensions of: [modes 2 to n X # of columns in Y]. The first row in the cell array corresponds to VIP Scores for mode 2. The second row corresponds to VIP Scores for mode 3.
 
===See Also===
 
[[selectvars]], [[genalg]], [[ipls]], [[plotloads]], [[pls]], [[plsda]], [[sratio]], [[rpls]], [[vip]]

Revision as of 17:06, 18 December 2018

Purpose

Calculate Variable Importance in Projection from NPLS model.

Synopsis

vip_scores = vipnway(model)

Description

Variable Importance in Projection (VIP) scores estimate the importance of each variable in the projection used in a NPLS model and is often used for variable selection. A variable with a VIP Score close to or greater than 1 (one) can be considered important in given model. Variables with VIP scores significantly less than 1 (one) are less important and might be good candidates for exclusion from the model. It works for X n-way and Y up to two-way and it assume samples are in the first mode.

Inputs

  • model = A NPLS model structure from a NPLS model.

Outputs

  • vip_scores = a cell array with dimensions of: [modes 2 to n X # of columns in Y]. The first row in the cell array corresponds to VIP Scores for mode 2. The second row corresponds to VIP Scores for mode 3.

See Also

selectvars, genalg, ipls, plotloads, pls, plsda, sratio, rpls, vip