Skip to main content
. 2022 Aug 7;22(15):5893. doi: 10.3390/s22155893
Algorithm 1: J48 Algorithm.
  1. Stage1: The leaf is labeled with a similar class if the instances belong to similar classes.

  2. Stage2: For each attribute, the potential data will be figured, and the gain in the data will be taken from the test on the attribute.

  3. Stage3: Finally, the best attribute will be chosen depending on the current selection parameter.