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

Description Usage Arguments Value

View source: R/sid_main_algorithm.R

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 June 24, 2017, 8:05 p.m.