summary.evaluation {crtests}R Documentation

Summary of an evaluation

Description

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

Usage

## 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

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)

[Package crtests version 0.2.1 Index]