Rfuzzycoco0.1.0 package

Provides an R Interface to the 'FuzzyCoCo' C++ Library and Extends It

compute_optimal_quantile_fuzzy_set_positions

computes the optimal fuzzy set positions based on the distribution of ...

evaluate_fuzzy_system

evaluate the fuzzy system from a fit on some given data

evaluate.fuzzycoco_fit

evaluate the fuzzy system from a fit on some given data

example_iris_binary_categorical

model parameters and data for the IRIS36 classification example

example_iris36

model parameters and data for the IRIS36 classification example

example_mtcars

model parameters and data for the mtcars regression example

fit_to_df

a one-row overview of a fuzzy system with the usage of variables, the ...

fit_xy.fuzzycoco_model

fit the FuzzyCoco model using the dataframe interface

fit.fuzzycoco_model

fit the FuzzyCoco model using the formula interface

fs_rules_to_df

format the fuzzy rules as a data frame

fs_used_vars_to_df

extract the usage of the variables by a fuzzy system

fuzzy_coco_parsnip_wrapper

this is an utility function used to implement the parsnip interface

fuzzy_coco_parsnip

parsnip model function

fuzzy_coco_systematic_fit

systematic search

fuzzycoco_fit_df_hybrid

lowest-level implementation of the fitting of a fuzzy coco model using...

fuzzycoco

creates a model for the Fuzzy Coco algorithm

params

utility to build the Fuzzy Coco parameters data structure

predict_fuzzy_system

predict the outcome of a fuzzy system on some input data

predict.fuzzycoco_fit

predict the outcome on some input data using a fitted model

reexports

Objects exported from other packages

Rfuzzycoco-package

Rfuzzycoco: Provides an R Interface to the 'FuzzyCoCo' C++ Library and...

shared_params

shared params

stop_engine_if_stalling

an utility function to easily generate a stop function that stops when...

stop_engine_on_first_of

an utility function to easily generate the commonly used until param...

Provides and extends the 'Fuzzy Coco' algorithm by wrapping the 'FuzzyCoCo' 'C++' Library, cf <https://github.com/Lonza-RND-Data-Science/fuzzycoco>. 'Fuzzy Coco' constructs systems that predict the outcome of a human decision-making process while providing an understandable explanation of a possible reasoning leading to it. The constructed fuzzy systems are composed of rules and linguistic variables. This package provides a 'S3' classic interface (fit_xy()/fit()/predict()/evaluate()) and a 'tidymodels'/'parsnip' interface, a custom engine with custom iteration stop criterion and progress bar support as well as a systematic implementation that do not rely on genetic programming but rather explore all possible combinations.

  • Maintainer: Karl Forner
  • License: GPL (>= 3)
  • Last published: 2025-10-21