Nothing
#' @title Max Squared Error
#'
#' @details
#' The Max Squared Error is defined as \deqn{
#' \max \left( t_i - r_i \right)^2.
#' }{
#' max((t - r)^2).
#' }
#'
#' @templateVar mid maxse
#' @template regr_template
#'
#' @inheritParams regr_params
#' @template regr_example
#' @export
maxse = function(truth, response, ...) {
assert_regr(truth, response = response)
max(.se(truth, response))
}
#' @include measures.R
add_measure(maxse, "Max Squared Error", "regr", 0, Inf, TRUE, obs_loss = "se")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.