fit the FuzzyCoco model using the formula interface
# S3 method for class 'fuzzycoco_model'
fit(
object,
formula,
data,
engine = FUZZY_COCO_HYBRID_ENGINE,
max_generations = object$params$global_params$max_generations,
max_fitness = object$params$global_params$max_fitness,
seed = object$seed,
verbose = object$verbose,
...
)
the fuzzycoco_model object to fit
the fuzzy coco model as a formula
the data to fit as a data frame. The output variables must be grouped AFTER the input variables
the fuzzy coco fit engine to use, one of rcpp and hybrid
The maximum number of iterations of the algorithm. Each iteration produces a new generation of the rules and membership functions populations.
a stop condition: the iterations stop as soon as a generated fuzzy system fitness reaches that threshold.
the RNG seed to use (to fit the model)
whether to be verbose
Arguments passed on to fit_xy.fuzzycoco_model
x
the input variables data (usually to fit) as a dataframe
y
the output variables data (usually to fit) as a dataframe
a named list