View source: R/loss_absolute_error.R
loss_absolute_error | R Documentation |
The function calculates the L_1
absolute error loss as
L(O, \bar{Q}) = \| Y - \bar{Q}(A,W) \|
.
loss_absolute_error(pred, observed)
pred |
Predicted outcomes from a fit model or ensemble learner. |
observed |
Observed outcomes. |
Polley EC, Rose S, van der Laan MJ. Super Learning. In: van der Laan MJ, Rose S, eds. Targeted Learning: Causal Inference for Observational and Experimental Data. New York, NY: Springer New York; 2011:43–66. https://doi.org/10.1007/978-1-4419-9782-1_3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.