{
  "_id": "6a214a9fcd65a98ecbd2c417",
  "Package": "wconf",
  "Type": "Package",
  "Title": "Weighted Confusion Matrix",
  "Version": "1.2.0",
  "Authors@R": "person(given = \"Alexandru\",\nfamily = \"Monahov\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"alexandru.monahov@proton.me\",\ncomment = c(ORCID = \"0000-0001-6204-9131\"))",
  "URL": "https://www.alexandrumonahov.eu.org/projects",
  "Description": "Allows users to create weighted confusion matrices and\naccuracy metrics that help with the model selection process for\nclassification problems, where distance from the correct\ncategory is important. The package includes several weighting\nschemes which can be parameterized, as well as custom\nconfiguration options. Furthermore, users can decide whether\nthey wish to positively or negatively affect the accuracy score\nas a result of applying weights to the confusion matrix.\nFunctions are included to calculate accuracy metrics for\nimbalanced data. Finally, 'wconf' integrates well with the\n'caret' package, but it can also work standalone when provided\ndata in matrix form. References: Kuhn, M. (2008) \"Building\nPerspective Models in R Using the caret Package\"\n<doi:10.18637/jss.v028.i05> Monahov, A. (2021) \"Model\nEvaluation with Weighted Threshold Optimization (and the mewto\nR package)\" <doi:10.2139/ssrn.3805911> Monahov, A. (2024)\n\"Improved Accuracy Metrics for Classification with Imbalanced\nData and Where Distance from the Truth Matters, with the wconf\nR Package\" <doi:10.2139/ssrn.4802336> Starovoitov, V., Golub,\nY. (2020). New Function for Estimating Imbalanced Data\nClassification Results. Pattern Recognition and Image Analysis,\n295–302 Van de Velden, M., Iodice D'Enza, A., Markos, A.,\nCavicchia, C. (2023) \"A general framework for implementing\ndistances for categorical variables\"\n<doi:10.48550/arXiv.2301.02190>.",
  "License": "CC BY-SA 4.0",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 09:48:41 UTC",
    "User": "root"
  },
  "Author": "Alexandru Monahov [aut, cre, cph]\n(<https://orcid.org/0000-0001-6204-9131>)",
  "Maintainer": "Alexandru Monahov <alexandru.monahov@proton.me>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-08-18 02:52:04 UTC",
  "RemoteUrl": "https://github.com/cran/wconf",
  "RemoteRef": "HEAD",
  "RemoteSha": "7166f77934e05d4311e5c267beea77966cd1bb9d",
  "MD5sum": "1627018b75692dfdbcf0fca6acf90148",
  "_user": "cran",
  "_type": "src",
  "_file": "wconf_1.2.0.tar.gz",
  "_fileid": "7e69d532565cb965a09940e9131c237b9b8269a0ff222a99146a4d5d5cf0f7df",
  "_filesize": 190622,
  "_sha256": "7e69d532565cb965a09940e9131c237b9b8269a0ff222a99146a4d5d5cf0f7df",
  "_created": "2026-06-04T09:48:41.000Z",
  "_published": "2026-06-04T09:51:27.744Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79493145088,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7408361610"
    },
    {
      "job": 79493145329,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7408358914"
    },
    {
      "job": 79492598033,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7408316438"
    },
    {
      "job": 79493145036,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7408353833"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26943882355",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/wconf",
  "_commit": {
    "id": "7166f77934e05d4311e5c267beea77966cd1bb9d",
    "author": "Alexandru Monahov <alexandru.monahov@proton.me>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.0\n",
    "time": 1723949524
  },
  "_maintainer": {
    "name": "Alexandru Monahov",
    "email": "alexandru.monahov@proton.me",
    "orcid": "0000-0001-6204-9131"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "caret",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/wconf"
  },
  "_searchresults": 1,
  "_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/wconf.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-12-12"
    },
    {
      "version": "1.1.0",
      "date": "2024-04-23"
    },
    {
      "version": "1.2.0",
      "date": "2024-08-17"
    }
  ],
  "_exports": [
    "balancedaccuracy",
    "rconfusionmatrix",
    "wconfusionmatrix",
    "weightmatrix"
  ],
  "_help": [
    {
      "page": "balancedaccuracy",
      "title": "Starovoitov-Golub Sine-Accuracy Function for Imbalanced Classification Data",
      "topics": [
        "balancedaccuracy"
      ]
    },
    {
      "page": "rconfusionmatrix",
      "title": "Redistributed confusion matrix",
      "topics": [
        "rconfusionmatrix"
      ]
    },
    {
      "page": "wconfusionmatrix",
      "title": "Weighted confusion matrix",
      "topics": [
        "wconfusionmatrix"
      ]
    },
    {
      "page": "weightmatrix",
      "title": "Weight matrix",
      "topics": [
        "weightmatrix"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/wconf/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/wconf/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "wconf_guide.Rmd",
      "filename": "wconf_guide.html",
      "title": "wconf: Weighted Confusion Matrix",
      "author": "Alexandru Monahov",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The wconf package",
        "About confusion matrices",
        "References",
        "Functions",
        "weightmatrix - configure and visualize a weight matrix",
        "wconfusionmatrix - compute a weighted confusion matrix",
        "rconfusionmatrix - compute a redistributed confusion matrix",
        "balancedaccuracy - calculate accuracy scores for imbalanced data",
        "Examples",
        "Producing a weighted confusion matrix in conjunction with the caret package",
        "Producing a redistributed confusion matrix from an existing confusion matrix",
        "Generating accuracy metrics for imbalanced data",
        "About the author"
      ],
      "created": "2023-12-13 02:47:31",
      "modified": "2024-08-18 02:52:04",
      "commits": 3
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "wconf",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-04T09:50:58.000Z",
      "distro": "noble",
      "commit": "7166f77934e05d4311e5c267beea77966cd1bb9d",
      "fileid": "f05a23931b2431e774a237c4b40f1937d061c81f4560092ed424704ed2a403a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26943882355"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-04T09:50:50.000Z",
      "distro": "noble",
      "commit": "7166f77934e05d4311e5c267beea77966cd1bb9d",
      "fileid": "8059f58511eaadc637bea4c1b64c88738ccad1f4ece7b2fd4cfa8bc7b97af69c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26943882355"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-04T09:50:47.000Z",
      "commit": "7166f77934e05d4311e5c267beea77966cd1bb9d",
      "fileid": "0526f7720e0a9d85aa0119e6c5239ad80960f09a45ffffa4866b166b42d86657",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26943882355"
    }
  ]
}