Learn R Programming

DIscBIO (version 1.2.2)

J48DTeval: Evaluating the performance of the J48 decision tree.

Description

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

Usage

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

Value

Statistics about the J48 model

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