View source: R/linear-spherical-spline.R
calculate_loss | R Documentation |
This function calculates the loss function based on the squared spherical distances between observed values and predicted values on the curve.
calculate_loss(y, gamma)
y |
Matrix of observed values. |
gamma |
Matrix of predicted values. |
Loss value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.