{
  "_id": "6a1edda6b401979e7341015b",
  "Type": "Package",
  "Package": "Rfuzzycoco",
  "Title": "Provides an R Interface to the 'FuzzyCoCo' C++ Library and\nExtends It",
  "Version": "0.1.0",
  "Authors@R": "person(\"Karl\", \"Forner\", , \"karl.forner@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides and extends the 'Fuzzy Coco' algorithm by\nwrapping the 'FuzzyCoCo' 'C++' Library, cf\n<https://github.com/Lonza-RND-Data-Science/fuzzycoco>. 'Fuzzy\nCoco' constructs systems that predict the outcome of a human\ndecision-making process while providing an understandable\nexplanation of a possible reasoning leading to it.  The\nconstructed fuzzy systems are composed of rules and linguistic\nvariables.  This package provides a 'S3' classic interface\n(fit_xy()/fit()/predict()/evaluate()) and a\n'tidymodels'/'parsnip' interface, a custom engine with custom\niteration stop criterion and progress bar support as well as a\nsystematic implementation that do not rely on genetic\nprogramming but rather explore all possible combinations.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/Lonza-RND-Data-Science/Rfuzzycoco",
  "BugReports": "https://github.com/Lonza-RND-Data-Science/Rfuzzycoco/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "Repository": "https://lonza-rnd-data-science.r-universe.dev",
  "Date/Publication": "2025-10-16 13:10:03 UTC",
  "RemoteUrl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "RemoteRef": "HEAD",
  "RemoteSha": "c7267ec519299c299b2b69e69618338cfce81b45",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 08:10:09 UTC",
    "User": "root"
  },
  "Author": "Karl Forner [aut, cre]",
  "Maintainer": "Karl Forner <karl.forner@gmail.com>",
  "MD5sum": "e435beebefc4931e9e32d57fe447151e",
  "_user": "lonza-rnd-data-science",
  "_type": "src",
  "_file": "Rfuzzycoco_0.1.0.tar.gz",
  "_fileid": "b38a47d59b177229d5109242d25e9a1fabf478b00226b51cb2019a00aeb5c417",
  "_filesize": 258659,
  "_sha256": "b38a47d59b177229d5109242d25e9a1fabf478b00226b51cb2019a00aeb5c417",
  "_created": "2026-05-20T08:10:09.000Z",
  "_published": "2026-06-02T13:41:58.472Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79084376133,
      "time": 186,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7104675670"
    },
    {
      "job": 79084375218,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7104676475"
    },
    {
      "job": 79084376029,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104678326"
    },
    {
      "job": 79084375881,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104672150"
    },
    {
      "job": 79084375964,
      "time": 236,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7104672547"
    },
    {
      "job": 79084375852,
      "time": 349,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7104721679"
    },
    {
      "job": 79084376050,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104659323"
    },
    {
      "job": 79084375329,
      "time": 299,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104703640"
    },
    {
      "job": 79084374806,
      "time": 249,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104611481"
    },
    {
      "job": 79084374670,
      "time": 163,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359378971"
    },
    {
      "job": 79084375387,
      "time": 240,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7104694317"
    },
    {
      "job": 79084375667,
      "time": 182,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7104672268"
    },
    {
      "job": 79084375699,
      "time": 189,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7104677031"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_commit": {
    "id": "c7267ec519299c299b2b69e69618338cfce81b45",
    "author": "Karl Forner <karl.forner@gmail.com>",
    "committer": "Karl Forner <karl.forner@gmail.com>",
    "message": "implemented Beni Altmann review items.\n",
    "time": 1760620203
  },
  "_maintainer": {
    "name": "Karl Forner",
    "email": "karl.forner@gmail.com",
    "login": "kforner",
    "description": "",
    "uuid": 122744
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "role": "Suggests"
    },
    {
      "package": "progressr",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "lonza-rnd-data-science",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 15
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 6
    },
    {
      "week": "2025-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "kforner",
      "count": 45,
      "uuid": 122744
    }
  ],
  "_userbio": {
    "uuid": 227970419,
    "type": "organization",
    "name": "Lonza R&D Data Science"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Rfuzzycoco"
  },
  "_devurl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/Rfuzzycoco.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lonza-rnd-data-science/rfuzzycoco",
  "_realowner": "lonza-rnd-data-science",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-10-21"
    }
  ],
  "_exports": [
    "compute_optimal_quantile_fuzzy_set_positions",
    "evaluate",
    "evaluate_fuzzy_system",
    "example_iris_binary_categorical",
    "example_iris36",
    "example_mtcars",
    "fit",
    "fit_to_df",
    "fit_xy",
    "fs_rules_to_df",
    "fs_used_vars_to_df",
    "fuzzy_coco_parsnip",
    "fuzzy_coco_parsnip_wrapper",
    "fuzzy_coco_systematic_fit",
    "fuzzycoco",
    "fuzzycoco_fit_df_hybrid",
    "params",
    "predict_fuzzy_system",
    "stop_engine_if_stalling",
    "stop_engine_on_first_of"
  ],
  "_help": [
    {
      "page": "Rfuzzycoco-package",
      "title": "Rfuzzycoco: Provides an R Interface to the 'FuzzyCoCo' C++ Library and Extends It",
      "topics": [
        "Rfuzzycoco-package",
        "Rfuzzycoco"
      ]
    },
    {
      "page": "compute_optimal_quantile_fuzzy_set_positions",
      "title": "computes the optimal fuzzy set positions based on the distribution of the data",
      "topics": [
        "compute_optimal_quantile_fuzzy_set_positions"
      ]
    },
    {
      "page": "evaluate_fuzzy_system",
      "title": "evaluate the fuzzy system from a fit on some given data",
      "topics": [
        "evaluate_fuzzy_system"
      ]
    },
    {
      "page": "evaluate.fuzzycoco_fit",
      "title": "evaluate the fuzzy system from a fit on some given data",
      "topics": [
        "evaluate.fuzzycoco_fit"
      ]
    },
    {
      "page": "example_iris_binary_categorical",
      "title": "model parameters and data for the IRIS36 classification example",
      "topics": [
        "example_iris_binary_categorical"
      ]
    },
    {
      "page": "example_iris36",
      "title": "model parameters and data for the IRIS36 classification example",
      "topics": [
        "example_iris36"
      ]
    },
    {
      "page": "example_mtcars",
      "title": "model parameters and data for the mtcars regression example",
      "topics": [
        "example_mtcars"
      ]
    },
    {
      "page": "fit_to_df",
      "title": "a one-row overview of a fuzzy system with the usage of variables, the fitness, number of generations and optionally a metric",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fit_to_df"
      ]
    },
    {
      "page": "fit_xy.fuzzycoco_model",
      "title": "fit the FuzzyCoco model using the dataframe interface",
      "topics": [
        "fit_xy.fuzzycoco_model"
      ]
    },
    {
      "page": "fit.fuzzycoco_model",
      "title": "fit the FuzzyCoco model using the formula interface",
      "topics": [
        "fit.fuzzycoco_model"
      ]
    },
    {
      "page": "fs_rules_to_df",
      "title": "format the fuzzy rules as a data frame",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fs_rules_to_df"
      ]
    },
    {
      "page": "fs_used_vars_to_df",
      "title": "extract the usage of the variables by a fuzzy system",
      "concept": [
        "fit_utils"
      ],
      "topics": [
        "fs_used_vars_to_df"
      ]
    },
    {
      "page": "fuzzy_coco_parsnip",
      "title": "parsnip model function",
      "topics": [
        "fuzzy_coco_parsnip"
      ]
    },
    {
      "page": "fuzzy_coco_systematic_fit",
      "title": "systematic search",
      "topics": [
        "fuzzy_coco_systematic_fit"
      ]
    },
    {
      "page": "fuzzycoco",
      "title": "creates a model for the Fuzzy Coco algorithm",
      "topics": [
        "fuzzycoco"
      ]
    },
    {
      "page": "fuzzycoco_fit_df_hybrid",
      "title": "lowest-level implementation of the fitting of a fuzzy coco model using the *hybrid engine*",
      "topics": [
        "fuzzycoco_fit_df_hybrid"
      ]
    },
    {
      "page": "params",
      "title": "utility to build the Fuzzy Coco parameters data structure",
      "topics": [
        "params"
      ]
    },
    {
      "page": "predict_fuzzy_system",
      "title": "predict the outcome of a fuzzy system on some input data",
      "topics": [
        "predict_fuzzy_system"
      ]
    },
    {
      "page": "predict.fuzzycoco_fit",
      "title": "predict the outcome on some input data using a fitted model",
      "topics": [
        "predict.fuzzycoco_fit"
      ]
    },
    {
      "page": "stop_engine_if_stalling",
      "title": "an utility function to easily generate a stop function that stops when the convergence is stalling",
      "topics": [
        "stop_engine_if_stalling"
      ]
    },
    {
      "page": "stop_engine_on_first_of",
      "title": "an utility function to easily generate the commonly used 'until' parameter, as used by 'fuzzycoco_fit_df_hybrid()'",
      "topics": [
        "stop_engine_on_first_of"
      ]
    }
  ],
  "_readme": "https://github.com/lonza-rnd-data-science/rfuzzycoco/raw/HEAD/README.md",
  "_rundeps": [
    "generics",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "getting_started.Rmd",
      "filename": "getting_started.html",
      "title": "Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "data and parameters",
        "using the base R S3 interface",
        "model",
        "fitting the model",
        "fit_xy(): using dataframes",
        "fit(): using a formula",
        "evaluating the model",
        "predicting data"
      ],
      "created": "2025-09-02 17:34:13",
      "modified": "2025-10-16 13:10:03",
      "commits": 4
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "rfuzzycoco",
  "_universes": [
    "lonza-rnd-data-science",
    "kforner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:13:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "3b37c27b409ed10dfd2bfe31bf7b0d48e5dca2ce85822053a0e6d31b084a0fb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:13:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "180b1150b50ae627e3efb8ddb892361f63fdeb1a24c9d9b448f0e7fe70b3e72e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:13:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "c81860d9a073f2f313d6d6adf4dace18f039bc6e2fdc3ea02385ca547fc0221f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-20T08:12:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "296e17d4d8257f88aa2902d1f5f5a163e548abcfbdedb80c3ebd348f81c8f8d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:13:03.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "9e9655a247c4262b36abec18bdc78ccdaa28cac48508fa28f9154d7a1c6b599f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:14:34.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "dc41e1df590373f02d006d1cac9db6baae385b5cb87c6086d02f4e390685b204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:12:43.000Z",
      "arch": "aarch64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "cb7790c5819c92aec146362c7c917cb584c856f907313c5b9d2f25c2a40abd6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-20T08:13:53.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "87208c8955dc5d312faf071006f3709dcc8d7b43fb3889540720a47ceb02815c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:12:20.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "7de32dc066678bf467d3ee37397b07521ffcd486ec1b76ac1beaaff0a6bb9d00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:12:09.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "3ab11a4a980982132b39d96152e692f1f8d691dc7984d9098a7fc3429c759060",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-20T08:12:11.000Z",
      "arch": "x86_64",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "1540267924ec63d72e436bba2b4bc6914751ed090d072b74089d92ca96b8c790",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-02T13:40:42.000Z",
      "arch": "emscripten",
      "commit": "c7267ec519299c299b2b69e69618338cfce81b45",
      "fileid": "4dd546bac195b3852a3f1891ed202ca5b4a567e716a09ca714e0d472e421c154",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lonza-rnd-data-science/actions/runs/26149800118"
    }
  ]
}