measurePredictionPerformance: Measure Performance of a Prediction

View source: R/workbench.R

measurePredictionPerformanceR Documentation

Measure Performance of a Prediction

Description

This method returns several performance metrics for the passed predictions.

Usage

measurePredictionPerformance(truevals, predvals)

Arguments

truevals

true values

predvals

predicted values

Value

A named array with the following fields:

pearson

Pearson's correlation

spearman

Spearmans' correlation (order based)

rmse

Root Mean Square Error

mae

Mean Absolute Error

coeff_det

Coefficient of determination

ndcg10, ndcg20, ndcg50, ndcg100

mean Normalized Discounted Cumulative Gain with k equal to 0.1, 0.2, 0.5 and 1


GROAN documentation built on Nov. 28, 2022, 5:07 p.m.