public class DecisionTreeEx4 extends Object
Fits a decision tree to the Kyphosis data using QUEST.
This example uses the dataset Kyphosis. The 81 cases represent 81 children who have undergone surgery to correct a type of spinal deformity known as Kyphosis. The response variable is the presence or absence of Kyphosis after the surgery. Three predictors are Age of the patient in months, Start, the number of the vertebra where the surgery started, and Number, the number of vertebra involved in the surgery. This example uses the method QUESTto produce a maximal tree. It also requests predictions for a test-data set consisting of 10 "new" cases.
Constructor and Description |
---|
DecisionTreeEx4() |
Copyright © 2020 Rogue Wave Software. All rights reserved.