measurePredictionPerformance {GROAN}R 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


[Package GROAN version 1.3.1 Index]