I need help with the assignment, I\'m using SAS. No spacing Predictive Modeling
ID: 3774146 • Letter: I
Question
I need help with the assignment, I'm using SAS. No spacing Predictive Modeling Using Decision Trees For this project use the data source CATALOG2010 located in the ABA1 folder. This data comes from a catalog retailer. The target variable, respond, is i for people who ve placed an order from the previous year's Christmas catalog. Using that historical data, you build a decision tree to classify customers as likely (1), or unlikely (0 to place an order if mailed this year's Christmas catalog. Each leaf of this three is labeled with a 1 or a 0. Records reaching a leaf labeled 1 are classed as likely responders. Those reaching a leaf labeled 0 are classed as likely non-responders. a. Define the data set CATALOG2010 as a data source for the project. b. Add a Data Partition node to the diagram and connect it to the Data Source node. Assign 40% of the data for training and 30% for validation, and 30% for test. Predictive Modeling Using Decision Trees a. Your target variable is "respond". b. Create a decision tree model interactively. Keep in mind that you'll be making a "Decision." c. Examine the tree results. How many leaves are in the tree? What is the misclassification rate of the final nodes in the tree you grew? d. view the tree. Which variable was used for the first split? What were the competing splits for this first split? e. Add a second Decision Tree node to the diagram and connect it to the Data Partition node. Your target variable in this step is the variable "order size." Run the diagram from the new Decision Tree node and examine the tree results. How many leaves are in the tree? g. Which variables were important in growing this tree? h. View the tree. Which variable was used for the first split? L Maximize the tree window and comment on the people in terms of their spending pattems.
Explanation / Answer
now ,
Preparing for Interactive Tree C
onstruction
Follow these st
eps to prepare the Decision Tree tool for interactive tree construction.
1.
Select the
Model tab
.
The Decision Tree tool is second from the left:
Drag a
Decision Tree
tool into the diagram workspace.
Place the node next to the
Data Partition
node.
3.
Connect the
Data Partition
node to the
Decision Tree
node.
The Decision Tree tool
can
build predictive models
autonomously
or interactively. To build a model
autonomously
, simply run the Decision Tree node. Building models interactively, however, is more
informative and is
helpful
when you first learn about the node and even when you are more expert
at predictive modelin
8
Decision
Trees (Introduction to Predictive Modeling)
3.
Connect the
Data Partition
node to the
Decision Tree
node.
The Decision Tree tool
can
build predictive models
autonomously
or interactively. To build a model
autonomously
, simply run the Decision Tree node. Building models interactively, however, is more
informative and is helpful when you first learn about the node and even when you are more expert at predictive modeling.
4.
Select
Interactive from the Decision Tree nodes Properties panel.
The SAS Enterprise Miner Interactive Decision Tree application open