Building And Interpreting Decision Trees in Enterprise Miner.
-
Upload
julius-lawrence -
Category
Documents
-
view
224 -
download
3
Transcript of Building And Interpreting Decision Trees in Enterprise Miner.
![Page 1: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/1.jpg)
Building And Interpreting
Decision Trees in Enterprise Miner
![Page 2: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/2.jpg)
Getting Up 2 Speed
Open up the HMEQ project you worked on last class. You should drop 3 nodes in EM (Input, Insight, and Partition (to separate random training and validation)
K:/(common)/tsupra/MARK2042/
![Page 3: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/3.jpg)
Building Decision Trees
Add a Tree Node Connect to Data
Partition Node
![Page 4: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/4.jpg)
Check Status, Model Role and Measurement
![Page 5: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/5.jpg)
Splitting Criteria: binary target variables default is
Ordinal target variables: must use Entropy or Gini. Here,We can use any of the three. These are typical statistical tests.See readings I handed out last class (WebCT).
![Page 6: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/6.jpg)
Close Tree Node. Run it! View the results.
Tree with 18 leaves grown based on training data, pruned back to 8Based on validation. 8-leaf model has accuracy of 89.02% of theValidation set.
![Page 7: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/7.jpg)
Choose View-Tree
10 leaves are visible here. New in EMVersion 8.
![Page 8: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/8.jpg)
Tree Options…Follow the tasks below
![Page 9: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/9.jpg)
Colours and Proportion of target value.
What did the 0 represent again? Leaves with all zeros willBe green. Individuals who will default on their loan will beRed.
Inspect for high percentage of bad loans (red) and good loans (green)
![Page 10: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/10.jpg)
Change the Statistics
![Page 11: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/11.jpg)
Find missing values
The branch that contains theValues greater than 45.1848 alsoContains the missing values
![Page 12: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/12.jpg)
Select this tab next
![Page 13: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/13.jpg)
View a path to the node
Right click an area
![Page 14: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/14.jpg)
Using Tree Options – Default Tree
Add New Tree (Default)
Make 2 changes to the basic tab. GiveThis a max and a min set of values
2*25=50 is the RULE.
Add the Assessment nodeAnd connect.
![Page 15: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/15.jpg)
Close and Save the changes
If you didn’t follow the RULE,You won’t be able to save.
View the results…
![Page 16: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/16.jpg)
Run it.
![Page 17: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/17.jpg)
View the tree again.
![Page 18: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/18.jpg)
The defaulted tree diagram.
Is yoursDifferent?
![Page 19: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/19.jpg)
Running The Assessment Node
Run the AssessmentNode
Select both the Trees
![Page 20: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/20.jpg)
Interpretation
View a Lift Chart
Results!
![Page 21: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/21.jpg)
Various Charts – what are they saying?
![Page 22: Building And Interpreting Decision Trees in Enterprise Miner.](https://reader036.fdocuments.net/reader036/viewer/2022062516/56649e355503460f94b2495b/html5/thumbnails/22.jpg)
Further Study:
See WebCT for more resources. More information on Decision Trees. Assignment 4 also up on WebCT. Group Assignment will be delivered
next class.