RpartEVAL function

Evaluating the performance of the RPART Decision Tree.

Evaluating the performance of the RPART Decision Tree.

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

RpartEVAL(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

Performance statistics of the model

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