{
  "_id": "6aecf9661e2c7b3a4f536ac4",
  "Package": "CCNR",
  "Type": "Package",
  "Title": "Classifier Chain Network for Multi-Label Classification",
  "Version": "0.2.0",
  "Encoding": "UTF-8",
  "Authors@R": "c(person(\"Daniel J.W.\", \"Touw\",\nemail = \"touw@ese.eur.nl\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-3074-5401\")),\nperson(\"Michel\", \"Van de Velden\", role = \"ths\",\ncomment = c(ORCID = \"0000-0002-9807-9057\",\n\"PhD advisor of Daniel J.W. Touw\")))",
  "Description": "Fits a Classifier Chain Network (CCN) for multi-label\nbinary classification. The model jointly learns label\ndependencies through a chain structure and optimizes an Lq norm\naggregated cross-entropy loss. Provides methods for prediction,\nmodel summary, and k-fold cross-validation with grid search\nover hyperparameters. The methodology is described in Touw and\nVan de Velden (2025) <doi:10.1016/j.eswa.2025.128048>.",
  "License": "GPL-3",
  "URL": "https://github.com/djwtouw/CCNR",
  "BugReports": "https://github.com/djwtouw/CCNR/issues",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/build/clean-inst-doc": "FALSE",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://djwtouw.r-universe.dev",
  "Date/Publication": "2026-10-22 13:22:30 UTC",
  "RemoteUrl": "https://github.com/djwtouw/ccnr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-05 21:37:40 UTC",
    "User": "root"
  },
  "Author": "Daniel J.W. Touw [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3074-5401>),\nMichel Van de Velden [ths] (ORCID:\n<https://orcid.org/0000-0002-9807-9057>, PhD advisor of Daniel J.W.\nTouw)",
  "Maintainer": "Daniel J.W. Touw <touw@ese.eur.nl>",
  "_user": "djwtouw",
  "_type": "src",
  "_file": "CCNR_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/359cae49b7261fdba4679b17237634d75016efbc41730fcfe7a4f058b3d8981f",
  "_filesize": 325628,
  "_sha256": "359cae49b7261fdba4679b17237634d75016efbc41730fcfe7a4f058b3d8981f",
  "_expires": "2027-02-13T21:47:16.000Z",
  "_created": "2026-11-05T21:37:40.000Z",
  "_published": "2026-11-05T21:47:18.037Z",
  "_upstream": "https://github.com/djwtouw/ccnr",
  "_status": "success",
  "_maintainer": {
    "name": "Daniel J.W. Touw",
    "email": "touw@ese.eur.nl",
    "login": "djwtouw",
    "description": "",
    "uuid": 75936485,
    "orcid": "0000-0003-3074-5401"
  },
  "_jobs": [
    {
      "job": 127550215806,
      "time": 138,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13454334495"
    },
    {
      "job": 127550215915,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13455572255"
    },
    {
      "job": 127550215880,
      "time": 115,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13455901120"
    },
    {
      "job": 127550215945,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13453759891"
    },
    {
      "job": 127550216086,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13456041138"
    },
    {
      "job": 127550215958,
      "time": 519,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13456550836"
    },
    {
      "job": 127550215914,
      "time": 248,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13455254031"
    },
    {
      "job": 127550215882,
      "time": 220,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13456290385"
    },
    {
      "job": 127548569201,
      "time": 186,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13453459805"
    },
    {
      "job": 127550215917,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13456155062"
    },
    {
      "job": 127550216034,
      "time": 364,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13455294725"
    },
    {
      "job": 127550215876,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13456480040"
    },
    {
      "job": 127550215910,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13456025083"
    },
    {
      "job": 127550215950,
      "time": 360,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13454249964"
    },
    {
      "job": 127550215987,
      "time": 118,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13456180221"
    }
  ],
  "_buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479",
  "_commit": {
    "id": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
    "author": "djwtouw <danieltouw@outlook.com>",
    "committer": "djwtouw <danieltouw@outlook.com>",
    "message": "Add documentation on invisible return statements\n",
    "time": 1792675350
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "djwtouw",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1",
      "date": "2026-07-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "djwtouw",
      "count": 4,
      "uuid": 75936485
    }
  ],
  "_userbio": {
    "uuid": 75936485,
    "type": "user",
    "name": "djwtouw",
    "followers": 4
  },
  "_downloads": {
    "count": 6,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CCNR"
  },
  "_devurl": "https://github.com/djwtouw/ccnr",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/CCNR.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/djwtouw/ccnr",
  "_realowner": "djwtouw",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-11-05"
    }
  ],
  "_exports": [
    "ccn",
    "ccn_cv",
    "ccn_exact_match",
    "ccn_hamming_accuracy",
    "ccn_log_likelihood",
    "ccn_macro_f1",
    "ccn_mean_auc",
    "ccn_micro_f1",
    "conditional_entropy_matrix",
    "entropy_label_order",
    "generate_dataset",
    "multilabel_stratified_folds"
  ],
  "_datasets": [
    {
      "name": "amphibians",
      "title": "Presence of amphibian species at Polish water reservoirs",
      "object": "amphibians",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CCNR-package",
      "title": "CCNR: Classifier Chain Network for Multi-Label Classification",
      "topics": [
        "CCNR-package",
        "CCNR"
      ]
    },
    {
      "page": "amphibians",
      "title": "Presence of amphibian species at Polish water reservoirs",
      "topics": [
        "amphibians"
      ]
    },
    {
      "page": "ccn",
      "title": "Fit a Classifier Chain Network",
      "topics": [
        "ccn"
      ]
    },
    {
      "page": "ccn_cv",
      "title": "Cross-validation for a Classifier Chain Network",
      "topics": [
        "ccn_cv"
      ]
    },
    {
      "page": "ccn_exact_match",
      "title": "Exact match ratio scoring function",
      "topics": [
        "ccn_exact_match"
      ]
    },
    {
      "page": "ccn_hamming_accuracy",
      "title": "Hamming accuracy scoring function",
      "topics": [
        "ccn_hamming_accuracy"
      ]
    },
    {
      "page": "ccn_log_likelihood",
      "title": "Mean log-likelihood scoring function",
      "topics": [
        "ccn_log_likelihood"
      ]
    },
    {
      "page": "ccn_macro_f1",
      "title": "Macro-F1 scoring function",
      "topics": [
        "ccn_macro_f1"
      ]
    },
    {
      "page": "ccn_mean_auc",
      "title": "Mean AUC scoring function",
      "topics": [
        "ccn_mean_auc"
      ]
    },
    {
      "page": "ccn_micro_f1",
      "title": "Micro-F1 scoring function",
      "topics": [
        "ccn_micro_f1"
      ]
    },
    {
      "page": "coef.ccn",
      "title": "Extract coefficients from a Classifier Chain Network",
      "topics": [
        "coef.ccn"
      ]
    },
    {
      "page": "coef.ccn_cv",
      "title": "Extract Coefficients from a Cross-validated Classifier Chain Network",
      "topics": [
        "coef.ccn_cv"
      ]
    },
    {
      "page": "conditional_entropy_matrix",
      "title": "Pairwise Conditional Entropies of the Labels",
      "topics": [
        "conditional_entropy_matrix"
      ]
    },
    {
      "page": "entropy_label_order",
      "title": "Chain Order Derived from the Entropy of the Labels",
      "topics": [
        "entropy_label_order"
      ]
    },
    {
      "page": "fitted.ccn",
      "title": "Extract fitted values from a Classifier Chain Network",
      "topics": [
        "fitted.ccn"
      ]
    },
    {
      "page": "fitted.ccn_cv",
      "title": "Extract Fitted Values from a Cross-validated Classifier Chain Network",
      "topics": [
        "fitted.ccn_cv"
      ]
    },
    {
      "page": "generate_dataset",
      "title": "Generate a synthetic multilabel classification dataset",
      "topics": [
        "generate_dataset"
      ]
    },
    {
      "page": "multilabel_stratified_folds",
      "title": "Stratified fold assignments for multi-label data",
      "topics": [
        "multilabel_stratified_folds"
      ]
    },
    {
      "page": "predict.ccn",
      "title": "Predict from a Classifier Chain Network",
      "topics": [
        "predict.ccn"
      ]
    },
    {
      "page": "predict.ccn_cv",
      "title": "Predict from a Cross-validated Classifier Chain Network",
      "topics": [
        "predict.ccn_cv"
      ]
    },
    {
      "page": "print.ccn",
      "title": "Print a Classifier Chain Network",
      "topics": [
        "print.ccn"
      ]
    },
    {
      "page": "print.ccn_cv",
      "title": "Print a Classifier Chain Network Cross-validation",
      "topics": [
        "print.ccn_cv"
      ]
    },
    {
      "page": "residuals.ccn",
      "title": "Extract residuals from a Classifier Chain Network",
      "topics": [
        "residuals.ccn"
      ]
    },
    {
      "page": "summary.ccn",
      "title": "Summarize a Classifier Chain Network",
      "topics": [
        "summary.ccn"
      ]
    },
    {
      "page": "summary.ccn_cv",
      "title": "Summarize Classifier Chain Network Cross-Validation Results",
      "topics": [
        "summary.ccn_cv"
      ]
    }
  ],
  "_readme": "https://github.com/djwtouw/ccnr/raw/HEAD/README.md",
  "_rundeps": [
    "MASS",
    "Rcpp",
    "RcppEigen"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "ccnr",
  "_universes": [
    "djwtouw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-05T21:40:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/c457d7724e253b99126126b00b2b762e81ad1e05415f76452ee820993eece19e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-05T21:40:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/ecba135e75a3821a2894549ccb472f1b3efee2ae7c76ce1140736fbf111816f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-05T21:39:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/10d51f4f3f73850c0858d5d5a891d45ca8ab3ff04bd21d4170ffebc344ac636e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-11-05T21:40:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/72263628a80e8deedcf95367a9b6bc1ece750388a62a9beca33f7350547c5e23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-05T21:41:04.000Z",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/aef53c0688902cc06c14aa49dd1917bf4e5c924cedf57b844c0ecf8b08ad78da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-05T21:43:46.000Z",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/7f6a13fed3eff2af0eaf2af60fd2d17380d40dd558c09e6a10f856dbfdcc3b6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-05T21:40:46.000Z",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/8b817328d882da566ba05c0433f51b700b2efec6fe8d98fcdd374b5474995e98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-11-05T21:40:43.000Z",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/b577258d646174d2f3bf696c123a878864a4fedd8b6625e189161b0645c5a736",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-11-05T21:39:45.000Z",
      "arch": "emscripten",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/cf8e6ade868b626e0b7fe1320e20b54e7ae518d448761e2b00e4357783daec81",
      "status": "success",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-05T21:43:05.000Z",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/1d8d714772948f3e473f44c0d016f63bd0b3638c59bd82cc382f7be2fa2d29d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-05T21:39:01.000Z",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/4f54075c700fc498f0d6225f34723ab62701331bf62ddce8a2aa08ead252389b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-05T21:38:53.000Z",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/c3260dd9bc35084a6de1bd34b4baa6be141d45aadaba9d7bdf70d45ebbd8b637",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-05T21:42:55.000Z",
      "arch": "aarch64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/1d990ce619378e2058abe3adcc388926c5657fc7d128121c79c081a200abcb88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-11-05T21:39:08.000Z",
      "arch": "x86_64",
      "commit": "8919cbce0a7b8fb6b03c30ca8671aa90ddbe6a62",
      "fileid": "https://r2.ropensci.org/0cdce718793768c6e7bf62c7f06281d627fd96c560c6e4d5b5dcb47d57985930",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djwtouw/actions/runs/42113928479"
    }
  ]
}