Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SSE

Sum of squared errors


Description

Defined as: sum((response - truth)^2)

Usage

SSE(truth, response)

Arguments

truth

[numeric] vector of true values

response

[numeric] vector of predicted values

Examples

n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
SSE(truth, response)

measures

Performance Measures for Statistical Learning

v0.3
GPL-3
Authors
Philipp Probst [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.