squared_error | R Documentation |
Calculates sum of squared error between two vectors or matrices
squared_error(pred, test_y)
pred |
the predictions |
test_y |
the testing response values |
returns the sum of the squared differences between pred and test_y
Ben Sherwood <ben.sherwood@ku.edu>, Brad Price <brad.price@mail.wvu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.