Description Usage Arguments Value Methods (by class)
Generic function for evaluation of test results
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)
|
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 |
An object of class 'evaluation', which contains a list of performance measures and a test object.
classification
: Evaluate a classification test's results. Uses confusionMatrix
to determine accuracy and other performance measures
regression
: Evaluate a regression test's results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.