Discussion: Evaluating Expenditures
March 1, 2020
implications for nursing
March 1, 2020
Show all

Descion Tree

Use the outline of code we discussed in class to create a decision  tree for the IrisDataSet which predicts the Type column using the other attributes. Create three versions of this tree: one using entropy, one using the Gini coefficient, and one using the Classification error as splitting criteria. Use the first half of the data set as the training data and the second half as the test data. Provide the error rate for each tree.

Leave a Reply

Your email address will not be published. Required fields are marked *