summary.evaluation: Summary of an evaluation

Description Usage Arguments Examples

Description

Produces a summary of an evaluation, consisting of the test attributes and the performance measures

Usage

1
2
## S3 method for class 'evaluation'
summary(object, include_test_attributes = TRUE, ...)

Arguments

object

Evaluation object to make summary of

include_test_attributes

Logical. Should all attributes of the test be included in the output?

...

Extra arguments to summary.evaluation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(iris)
# A classification test
test <- createtest(data = iris, 
                  dependent = "Species",
                  problem = "classification",
                  method = "randomForest",
                  name = "An example classification test",
                  train_index = sample(150, 100)
)
## Not run: 
# Run the test. The result is an object of class "evaluation"
evaluation <- runtest(test) 
summary(results)

## End(Not run)

sjoerdvds/crtests documentation built on May 30, 2019, 12:05 a.m.