evaluate: Evaluate the performance of a prediction.

Description Usage Arguments Value

View source: R/evaluate.R

Description

Wraps the problem-specific evaluation functions by calling evaluate_problem. This wrapper is desirable, as it can perform the extraction of the holdout set (observations)

Usage

1
evaluate(prediction, data, test, ...)

Arguments

prediction

A vector of predictions for each row in the holdout set

data

The data list containing train and holdout data sets

test

The test object being evaluated

...

Extra arguments to evaluate

Value

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


crtests documentation built on May 29, 2017, 11:52 a.m.

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