R/search_summary.R

Defines functions results_summary search_summary

Documented in results_summary search_summary

#' @title Search summary
#' @description  Print a summary of the search space
#'
#' @param tuner Requires a tuner object
#' @return the summary of search space of the tuner object
#' @export
search_summary = function(tuner = NULL) {

    tuner$search_space_summary()

}

#' @title Results summary
#' @description Print a summary of the search results (best models)
#' 
#' @param tuner Requires a tuner object
#' @param num_trials Shows the top best models
#' @return the list of results summary of the tuner object
#' @export
results_summary = function(tuner = NULL, num_trials = NULL) {
  
    tuner$results_summary(num_trials = as.integer(num_trials))
  
}

Try the kerastuneR package in your browser

Any scripts or data that you put into this service are public.

kerastuneR documentation built on Sept. 4, 2023, 1:06 a.m.