{
  "_id": "6a4fb2dbc30f0868bbf1e779",
  "Package": "probcal",
  "Title": "Calibration of Binary and Multiclass Probabilities",
  "Version": "0.2.0",
  "Authors@R": "person(\"Pedro Rafael\", \"Diniz Marinho\",\nemail = \"pedro.rafael.marinho@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-1591-8300\"))",
  "Description": "Provides S3 calibrators, metrics, and diagnostics for\nbinary and multiclass probability calibration. Binary methods\ninclude Platt scaling, temperature scaling, beta calibration,\nhistogram binning, and isotonic regression. Multiclass methods\ninclude temperature scaling, vector scaling, Dirichlet\ncalibration, and a one-vs-rest wrapper for the binary\ncalibrators. A calibration-inference layer adds debiased\ncalibration errors, bootstrap confidence intervals, and a\nkernel calibration hypothesis test for binary and multiclass\npredictions, including the strong (canonical) multiclass case.\nMethods follow Platt (1999, ISBN:9780262194488), Zadrozny and\nElkan (2002) <doi:10.1145/775047.775151>, Guo et al. (2017)\n<https://proceedings.mlr.press/v70/guo17a.html>, Kull et al.\n(2017) <doi:10.1214/17-EJS1338SI>, Kull et al. (2019)\n<doi:10.48550/arXiv.1910.12656>, Widmann et al. (2019)\n<doi:10.48550/arXiv.1910.11385>, and Kumar et al. (2019)\n<doi:10.48550/arXiv.1909.10155>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://prdm0.github.io/probcal/,\nhttps://github.com/prdm0/probcal/",
  "BugReports": "https://github.com/prdm0/probcal/issues/",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-09 14:36:59 UTC",
    "User": "root"
  },
  "Author": "Pedro Rafael Diniz Marinho [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-1591-8300>)",
  "Maintainer": "Pedro Rafael Diniz Marinho <pedro.rafael.marinho@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-09 09:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/probcal",
  "RemoteRef": "HEAD",
  "RemoteSha": "919c9f785c0c835b7c5cb7f46022eabf3251f011",
  "_user": "cran",
  "_type": "src",
  "_file": "probcal_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/fd3e6a222c69c7a394549cc720845fe29ca9b71e50b9b2bdc2f0b89890075018",
  "_filesize": 2176841,
  "_sha256": "fd3e6a222c69c7a394549cc720845fe29ca9b71e50b9b2bdc2f0b89890075018",
  "_expires": "2026-10-17T14:40:24.000Z",
  "_created": "2026-07-09T14:36:59.000Z",
  "_published": "2026-07-09T14:40:27.110Z",
  "_jobs": [
    {
      "job": 86146141996,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8201700861"
    },
    {
      "job": 86146142063,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201701064"
    },
    {
      "job": 86145081682,
      "time": 244,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8201617995"
    },
    {
      "job": 86146141986,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8201684771"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29025718226",
  "_status": "success",
  "_upstream": "https://github.com/cran/probcal",
  "_commit": {
    "id": "919c9f785c0c835b7c5cb7f46022eabf3251f011",
    "author": "Pedro Rafael Diniz Marinho <pedro.rafael.marinho@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1783588802
  },
  "_maintainer": {
    "name": "Pedro Rafael Diniz Marinho",
    "email": "pedro.rafael.marinho@gmail.com",
    "login": "prdm0",
    "orcid": "0000-0003-1591-8300",
    "description": "PhD in Statistics and R/Python Language Enthusiast",
    "uuid": 4948384
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "betacal",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-07-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "prdm0",
      "count": 1,
      "uuid": 4948384
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/probcal"
  },
  "_devurl": "https://github.com/prdm0/probcal",
  "_pkgdown": "https://prdm0.github.io/probcal/",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/probcal.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-07-09"
    }
  ],
  "_exports": [
    "ace",
    "cal_beta",
    "cal_ci",
    "cal_cv",
    "cal_dirichlet",
    "cal_histogram",
    "cal_isotonic",
    "cal_ovr",
    "cal_platt",
    "cal_temperature",
    "cal_test",
    "cal_vector_scaling",
    "ece",
    "inv_logit",
    "logit",
    "mce",
    "mmce",
    "reliability_diagram",
    "skce"
  ],
  "_help": [
    {
      "page": "ace",
      "title": "Average Calibration Error",
      "topics": [
        "ace"
      ]
    },
    {
      "page": "cal_beta",
      "title": "Beta calibration",
      "topics": [
        "cal_beta"
      ]
    },
    {
      "page": "cal_ci",
      "title": "Bootstrap confidence interval for a calibration metric",
      "topics": [
        "cal_ci"
      ]
    },
    {
      "page": "cal_cv",
      "title": "Cross-validated calibration",
      "topics": [
        "cal_cv"
      ]
    },
    {
      "page": "cal_dirichlet",
      "title": "Dirichlet calibration",
      "topics": [
        "cal_dirichlet"
      ]
    },
    {
      "page": "cal_histogram",
      "title": "Histogram binning calibration",
      "topics": [
        "cal_histogram"
      ]
    },
    {
      "page": "cal_isotonic",
      "title": "Isotonic calibration",
      "topics": [
        "cal_isotonic"
      ]
    },
    {
      "page": "cal_ovr",
      "title": "One-vs-rest multiclass calibration",
      "topics": [
        "cal_ovr"
      ]
    },
    {
      "page": "cal_platt",
      "title": "Platt scaling",
      "topics": [
        "cal_platt"
      ]
    },
    {
      "page": "cal_temperature",
      "title": "Temperature scaling",
      "topics": [
        "cal_temperature"
      ]
    },
    {
      "page": "cal_test",
      "title": "Kernel calibration test",
      "topics": [
        "cal_test"
      ]
    },
    {
      "page": "cal_vector_scaling",
      "title": "Vector scaling",
      "topics": [
        "cal_vector_scaling"
      ]
    },
    {
      "page": "ece",
      "title": "Expected Calibration Error",
      "topics": [
        "ece"
      ]
    },
    {
      "page": "inv_logit",
      "title": "Inverse logit transformation",
      "topics": [
        "inv_logit"
      ]
    },
    {
      "page": "logit",
      "title": "Logit transformation",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "mce",
      "title": "Maximum Calibration Error",
      "topics": [
        "mce"
      ]
    },
    {
      "page": "mmce",
      "title": "Maximum Mean Calibration Error",
      "topics": [
        "mmce"
      ]
    },
    {
      "page": "reliability_diagram",
      "title": "Reliability diagram",
      "topics": [
        "reliability_diagram"
      ]
    },
    {
      "page": "skce",
      "title": "Squared Kernel Calibration Error",
      "topics": [
        "skce"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/probcal/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/probcal/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "applied-workflow.Rmd",
      "filename": "applied-workflow.html",
      "title": "Applied Calibration Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Goal",
        "Prepare the data",
        "Fit a classifier",
        "Fit calibrators",
        "Compare calibration metrics",
        "Plot the calibrated probabilities"
      ],
      "created": "2026-07-09 09:20:02",
      "modified": "2026-07-09 09:20:02",
      "commits": 1
    },
    {
      "source": "probcal.Rmd",
      "filename": "probcal.html",
      "title": "Calibrating Binary Probabilities",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why calibration matters",
        "A three-split workflow",
        "Fit a calibrator",
        "Compare methods",
        "Reliability diagram",
        "Cross-validated calibration",
        "Optional reference validation",
        "Current scope"
      ],
      "created": "2026-07-09 09:20:02",
      "modified": "2026-07-09 09:20:02",
      "commits": 1
    },
    {
      "source": "choosing-a-calibrator.Rmd",
      "filename": "choosing-a-calibrator.html",
      "title": "Choosing a Calibrator",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The main decision",
        "Match the input scale",
        "Compare methods on held-out data",
        "Practical guidance"
      ],
      "created": "2026-07-09 09:20:02",
      "modified": "2026-07-09 09:20:02",
      "commits": 1
    },
    {
      "source": "multiclass.Rmd",
      "filename": "multiclass.html",
      "title": "Multiclass Calibration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "From two classes to several",
        "Simulating an overconfident classifier",
        "Measuring multiclass calibration",
        "Temperature scaling on logits",
        "Dirichlet calibration on probabilities",
        "One-vs-rest calibration",
        "Comparing the calibrators",
        "Reliability diagram",
        "Out-of-fold calibration",
        "Scope"
      ],
      "created": "2026-07-09 09:20:02",
      "modified": "2026-07-09 09:20:02",
      "commits": 1
    },
    {
      "source": "numerical-validation.Rmd",
      "filename": "numerical-validation.html",
      "title": "Numerical Validation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Purpose",
        "Optional checks",
        "Why not compare every method",
        "Running the optional tests"
      ],
      "created": "2026-07-09 09:20:02",
      "modified": "2026-07-09 09:20:02",
      "commits": 1
    }
  ],
  "_score": 3.5118833609788744,
  "_indexed": true,
  "_nocasepkg": "probcal",
  "_universes": [
    "cran",
    "prdm0"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-09T14:39:16.000Z",
      "distro": "resolute",
      "commit": "919c9f785c0c835b7c5cb7f46022eabf3251f011",
      "fileid": "https://r2.ropensci.org/e0ee8d8e21f329baba5ab6b2bb52630ddf28dfbfa5840da933d452e910f895a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025718226"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-09T14:39:16.000Z",
      "distro": "resolute",
      "commit": "919c9f785c0c835b7c5cb7f46022eabf3251f011",
      "fileid": "https://r2.ropensci.org/c87509410c4a4fa5faab12b6829c455bb951b8e50a32793ea7b0f1f84105faea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025718226"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-09T14:39:23.000Z",
      "commit": "919c9f785c0c835b7c5cb7f46022eabf3251f011",
      "fileid": "https://r2.ropensci.org/2d88b2f87147eb1e34e5abcbeb624e5f039ce6d39480f903f1ed404b8708ff3d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29025718226"
    }
  ]
}