sid_tree_goodness: Get the goodness (accuracy) of a tree.

Description Usage Arguments Value

Description

Get the goodness (accuracy) of a tree.

Usage

1
2
sid_tree_goodness(data_train, data_test, tree, classifier, R = 10,
  parallel = TRUE, stats = FALSE)

Arguments

data_train

Training data.

data_test

Testing data.

classifier

A classifier function, default is svm (from the e1071 package).

R

Number of replications. Default is 10.

parallel

Calculate in parallel (Boolean, default is TRUE).

stats

Return statistics for the tree. Default is FALSE.

Value

The average goodness.


bwrc/astrid-r documentation built on May 13, 2019, 9:08 a.m.