Working with Nodes That Modify, Model, and Explore |
The Variable Selection node can help you reduce the number of inputs to your models by rejecting the input variables that are not related to the target. The remaining inputs can then be modeled by using a more intensive algorithm such as a neural network.
Drag a Variable Selection node from the Explore tab of the node toolbar into the Diagram Workspace, and connect it to the Transform Variables node.
Select the Variable Selection node in the Diagram Workspace and set the following Variable Selection properties in the Properties panel:
Set the Target Model property to Chi-Square.
Set the Hide Rejected Variables property to No.
Run the Variable Selection node and view the Results window.
The Variable Selection table provides a list of the selected variables. The Results window also displays a histogram that is called Variable Importance. The histogram shows each variable's contribution toward a prediction, based on Chi-squared scores. Hold your mouse pointer over a bar in the Relative Importance plot to view its variable name and relative importance score.
Close the Results window.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.