evaluate_problem: Generic function for evaluation of test results

Description Usage Arguments Value Methods (by class)

Description

Generic function for evaluation of test results

Usage

1
2
3
4
5
6
7
evaluate_problem(test, prediction, observations)

## S3 method for class 'classification'
evaluate_problem(test, prediction, observations)

## S3 method for class 'regression'
evaluate_problem(test, prediction, observations)

Arguments

test

The test that was run

prediction

A vector of predictions for each row in the holdout set

observations

The true observations for the dependent value in the holdout set

Value

An object of class 'evaluation', which contains a list of performance measures and a test object.

Methods (by class)

  • classification: Evaluate a classification test's results. Uses confusionMatrix to determine accuracy and other performance measures

  • regression: Evaluate a regression test's results



Search within the crtests package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.