Steps (14) The first step is to calculate the root node in order to form the tree structure. The total number of record is 15, as can be seen in Table 6.1 (first column), which goes as follows: (Individual (ID): 1, 2, 3,…, 15). We can use the entropy formula to calculate the root node based on eq. (6.1).

As can be seen clearly in Table 6.1 class column, 11 individuals belong to patient classification and four to healthy. The general status entropy can be calculated based on eq. (6.1):

11 15 log( 15 11 )+ 4 15 log( 15 4 )=0.2517
Figure 6.14: General C4.5 decision tree algorithm.

Step (5) Table 6.1 lists the calculation ...

Get Computational Methods for Data Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.