{
  "_id": "6a3a890244e65c5976a71c15",
  "Package": "calibratr",
  "Title": "Calibration of Binary and Multiclass Probabilities",
  "Version": "0.1.0",
  "Authors@R": "person(\"Pedro Rafael\", \"Diniz Marinho\",\nemail = \"pedro.rafael.marinho@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1591-8300\"))",
  "Description": "Provides S3 calibrators, metrics, and diagnostics for\nbinary and multiclass probability calibration in R. Binary\nmethods include Platt scaling, temperature scaling, beta\ncalibration, histogram binning, and isotonic regression.\nMulticlass methods include temperature scaling, vector scaling,\nDirichlet calibration, and a one-vs-rest wrapper for the binary\ncalibrators. Methods follow Platt (1999), Zadrozny and Elkan\n(2002) <doi:10.1145/775047.775151>, Guo et al. (2017), Kull et\nal. (2017) <doi:10.1214/17-EJS1338SI>, and Kull et al. (2019).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://prdm0.github.io/calibratr/,\nhttps://github.com/prdm0/calibratr/",
  "BugReports": "https://github.com/prdm0/calibratr/issues/",
  "Repository": "https://prdm0.r-universe.dev",
  "Date/Publication": "2026-06-23 13:01:34 UTC",
  "RemoteUrl": "https://github.com/prdm0/calibratr",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 13:07:18 UTC",
    "User": "root"
  },
  "Author": "Pedro Rafael Diniz Marinho [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1591-8300>)",
  "Maintainer": "Pedro Rafael Diniz Marinho <pedro.rafael.marinho@gmail.com>",
  "MD5sum": "1c30963e618ba5ef8fa7e8051fb95308",
  "_user": "prdm0",
  "_type": "src",
  "_file": "calibratr_0.1.0.tar.gz",
  "_fileid": "99a1aea2a1f405965ac9abed6ae9f5199e8622dff5ca593b60185f8945d104f1",
  "_filesize": 2072180,
  "_sha256": "99a1aea2a1f405965ac9abed6ae9f5199e8622dff5ca593b60185f8945d104f1",
  "_created": "2026-06-23T13:07:18.000Z",
  "_published": "2026-06-23T16:29:15.488Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 82962442823,
      "time": 986,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7822162259"
    },
    {
      "job": 82962442831,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7821785627"
    },
    {
      "job": 82962442867,
      "time": 126,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7821778844"
    },
    {
      "job": 82962442833,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7821760893"
    },
    {
      "job": 82961642657,
      "time": 218,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7821723425"
    },
    {
      "job": 82962442809,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7821774205"
    },
    {
      "job": 82962442870,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7821771681"
    },
    {
      "job": 82962442827,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7821764936"
    },
    {
      "job": 82962442899,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7821764359"
    }
  ],
  "_buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/prdm0/calibratr",
  "_commit": {
    "id": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
    "author": "prdm0 <pedro.rafael.marinho@gmail.com>",
    "committer": "prdm0 <pedro.rafael.marinho@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1782219694
  },
  "_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
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "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": "prdm0",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v0.0.0.9000",
      "date": "2026-06-22"
    },
    {
      "name": "v0.1.0",
      "date": "2026-06-23"
    }
  ],
  "_topics": [
    "library",
    "machine-learning",
    "statistics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "prdm0",
      "count": 10,
      "uuid": 4948384
    }
  ],
  "_userbio": {
    "uuid": 4948384,
    "type": "user",
    "name": "Pedro Rafael",
    "followers": 118,
    "description": "PhD in Statistics and R/Python Language Enthusiast"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/calibratr"
  },
  "_devurl": "https://github.com/prdm0/calibratr",
  "_pkgdown": "https://prdm0.github.io/calibratr/",
  "_searchresults": 35,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/calibratr.html",
    "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",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "ace",
    "cal_beta",
    "cal_cv",
    "cal_dirichlet",
    "cal_histogram",
    "cal_isotonic",
    "cal_ovr",
    "cal_platt",
    "cal_temperature",
    "cal_vector_scaling",
    "ece",
    "inv_logit",
    "logit",
    "mce",
    "mmce",
    "reliability_diagram"
  ],
  "_help": [
    {
      "page": "ace",
      "title": "Average Calibration Error",
      "topics": [
        "ace"
      ]
    },
    {
      "page": "cal_beta",
      "title": "Beta calibration",
      "topics": [
        "cal_beta"
      ]
    },
    {
      "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_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"
      ]
    }
  ],
  "_pkglogo": "https://github.com/prdm0/calibratr/raw/HEAD/logo.png",
  "_readme": "https://github.com/prdm0/calibratr/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-06-22 13:56:29",
      "modified": "2026-06-22 13:56:29",
      "commits": 1
    },
    {
      "source": "calibratr.Rmd",
      "filename": "calibratr.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-06-22 13:56:29",
      "modified": "2026-06-22 13:56:29",
      "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-06-22 13:56:29",
      "modified": "2026-06-22 13:56:29",
      "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-06-22 13:56:29",
      "modified": "2026-06-22 13:56:29",
      "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-06-22 13:56:29",
      "modified": "2026-06-22 13:56:29",
      "commits": 1
    }
  ],
  "_score": 3.942008053022313,
  "_indexed": true,
  "_nocasepkg": "calibratr",
  "_universes": [
    "prdm0"
  ],
  "_previous": "0.0.0.9000",
  "_progress_url": "https://github.com/r-universe/prdm0/actions/runs/28040805782",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-23T13:23:39.000Z",
      "distro": "resolute",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "ae06cc6284c56fa0225f791007c77be61a0a56d5e6efb26fcea8127b806bba76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-23T13:09:36.000Z",
      "distro": "resolute",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "4fc257488fe1f480e580985fa0eb81bdb79898d7cfc2f72bef04a3c293080708",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-23T13:09:28.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "7d74e24bcde8e5bfc2352f939995ad9f07ffabb38c93c7813456eb66c58b902b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-23T13:08:48.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "13f585bd88ae25dcb9385d7f24af4a301b20093289d0e7c85cd48af7785341a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-23T13:09:33.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "6db39b07e7c5e9daba8eb8074e87ad58f50223618a465455471e917edb1cbc88",
      "status": "success",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-23T13:08:56.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "0e2da8e776df9400e959c12311c485e14e3a15d05b6b2765be86a4126cc78eca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-23T13:08:41.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "93070a6b8d069fbe754f8333f3c08574f020714b01c91c57340c243bf28fd9fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-23T13:08:41.000Z",
      "commit": "cf47af80ff999690ba158b4b7b9c4c4450b3d8e9",
      "fileid": "d41f4e056cb6a1cad4122c436ef02f792438bb5ab7b1a26785ca15eab82078c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/prdm0/actions/runs/28028243371"
    }
  ]
}