J48DTeval function

Evaluating the performance of the J48 decision tree.

Evaluating the performance of the J48 decision tree.

This function evaluates the performance of the generated trees for error estimation by ten-fold cross validation assessment.

J48DTeval(data, num.folds = 10, First = "CL1", Second = "CL2", quiet = FALSE)

Arguments

  • data: The resulted data from running the function J48DT.
  • num.folds: A numeric value of the number of folds for the cross validation assessment. Default is 10.
  • First: A string vector showing the first target cluster. Default is "CL1"
  • Second: A string vector showing the second target cluster. Default is "CL2"
  • quiet: If TRUE, suppresses intermediary output

Returns

Statistics about the J48 model

  • Maintainer: Waldir Leoncio
  • License: MIT + file LICENSE
  • Last published: 2023-11-06