#' @title getTrainHistory
#' @description gets the logged training performance of models
#' @param model the model
#' @return data.frame with two columns: train and test with
#' performances on training and eval sets
#' @export getTrainHistory
#'
getTrainHistory <- function(model){
UseMethod("getTrainHistory", object = model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.