Nothing
#' Custom (internal) function for RMSE
#'
#' @param true num vector of actual values
#' @param predicted num vector of predicted values
#' @return Num value with RMSE
#' @export
my.rmse <- function(true,predicted){
return(sqrt(mean((predicted-true)^2,na.rm=T)))
}
#' Custom (internal) function for MAE
#'
#' @param true num vector of actual values
#' @param predicted num vector of predicted values
#' @return Num value with MAE
#' @export
#'
my.mae <- function(true,predicted){
return(mean(abs(predicted-true),na.rm=T))
}
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.