#' @title Single Criterion Tuning Instance for Batch Tuning
#'
#' @description
#' `TuningInstanceSingleCrit` is a deprecated class that is now a wrapper around [TuningInstanceBatchSingleCrit].
#'
#' @template param_task
#' @template param_learner
#' @template param_resampling
#' @template param_measure
#' @template param_terminator
#' @template param_search_space
#' @template param_store_benchmark_result
#' @template param_store_models
#' @template param_check_values
#' @template param_callbacks
#'
#' @export
TuningInstanceSingleCrit = R6Class("TuningInstanceSingleCrit",
inherit = TuningInstanceBatchSingleCrit,
public = list(
#' @description
#' Creates a new instance of this [R6][R6::R6Class] class.
initialize = function(
task,
learner,
resampling,
measure = NULL,
terminator,
search_space = NULL,
store_benchmark_result = TRUE,
store_models = FALSE,
check_values = FALSE,
callbacks = NULL
) {
message("TuningInstanceSingleCrit is deprecated. Use TuningInstanceBatchSingleCrit instead.")
super$initialize(
task = task,
learner = learner,
resampling = resampling,
measure = measure,
terminator = terminator,
search_space = search_space,
store_benchmark_result = store_benchmark_result,
store_models = store_models,
check_values = check_values,
callbacks = callbacks)
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.