squared_error {mcen} | R 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>
[Package mcen version 1.2.1 Index]