R/engine_hybrid.R
fuzzycoco_fit_df_hybrid.Rdlowest-level implementation of the fitting of a fuzzy coco model using the hybrid engine
fuzzycoco_fit_df_hybrid(
model,
x,
y,
until = stop_engine_on_first_of(max_generations =
model$params$global_params$max_generations, max_fitness =
model$params$global_params$max_fitness),
verbose = model$verbose,
progress = TRUE
)a Fuzzy Coco model as a fuzzy_coco object
the input variables data (usually to fit) as a dataframe
the output variables data (usually to fit) as a dataframe
function that takes an engine and returns TRUE if and only if the evolution must stop.
It is a way for the user to customize the stop conditions of the algorithm.
whether to be verbose
whether to display the computation progress (using progressr, if available)
a named list as a fuzzy_coco fit object
model <- fuzzycoco("regression", example_mtcars()$params)
fit <- fuzzycoco_fit_df_hybrid(model, mtcars[c("mpg", "hp", "wt")], mtcars["qsec"])