Vipnway: Difference between revisions
Jump to navigation
Jump to search
imported>Scott No edit summary |
imported>Scott |
||
Line 21: | Line 21: | ||
===See Also=== | ===See Also=== | ||
[[selectvars]], [[genalg]], [[ipls | [[selectvars]], [[genalg]], [[ipls]], [[pls]], [[plsda]], [[sratio]], [[rpls]], [[vip]] |
Latest revision as of 16:07, 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.