creates a model for the Fuzzy Coco algorithm

fuzzycoco(
  mode = c("classification", "regression"),
  params,
  seed = sample.int(10^5, 1),
  verbose = FALSE
)

Arguments

mode

the type of model, either classification or regression

params

fuzzy coco parameters, as a recursive named list, cf params()

seed

the RNG seed to use (to fit the model)

verbose

whether to be verbose

Value

a fuzzycoco_model object (named list)

Examples

model <- fuzzycoco("regression", params(nb_rules = 1, nb_max_var_per_rule = 3), seed = 123)