squared_error: Calculates sum of squared error between two vectors or...

View source: R/mcen.r

squared_errorR Documentation

Calculates sum of squared error between two vectors or matrices

Description

Calculates sum of squared error between two vectors or matrices

Usage

squared_error(pred, test_y)

Arguments

pred

the predictions

test_y

the testing response values

Value

returns the sum of the squared differences between pred and test_y

Author(s)

Ben Sherwood <ben.sherwood@ku.edu>, Brad Price <brad.price@mail.wvu.edu>


mcen documentation built on April 1, 2023, 12:11 a.m.

Related to squared_error in mcen...