r_squared: R Squared

Description Usage Arguments Value Note

Description

Evaluates R Squared, Explained Variance, on predictions of a regression model

Usage

1
r_squared(known, predicted)

Arguments

known

known values

predicted

predicted values (point estimates)

Value

R Squared value

Note

A negative R Squared value means that the prediction model is worst than fitting an horizontal line to the data.


dsnavega/grnnet documentation built on May 9, 2019, 5 a.m.