{
  "_id": "6abc5f5399f7aa8c6aa4a7ed",
  "Package": "deriva",
  "Title": "Tidy Drift Detection for Monitored Machine Learning Models",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"João Paulo Assis\", \"Bonifácio\", , \"jpab.27@hotmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0009-2335-8391\")),\nperson(\"Geraldo Magela da Cruz\", \"Pereira\", , \"geraldo.pereira@ufla.br\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-6280-4870\")),\nperson(\"Pedro\", \"Mambelli Fernandes\", , \"pedromambelli@gmail.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0009-0001-1695-279X\"))\n)",
  "Description": "Detects concept drift and data drift in streams produced\nby deployed machine learning models, using a tidy interface\nthat composes with the 'tidymodels' ecosystem. Detectors are\nspecified, fitted on a baseline period, and advanced over new\nbatches of observations, returning tibbles annotated with\nwarning and drift flags. A catalogue of 22 sequential drift\ndetectors is provided. Error-based methods include the Drift\nDetection Method (DDM) of Gama et al. (2004)\n<doi:10.1007/978-3-540-28645-5_29>, the Early Drift Detection\nMethod (EDDM) of Baena-Garcia et al. (2006), the Hoeffding's\ninequality based Drift Detection Methods (HDDM) of Frias-Blanco\net al. (2015) <doi:10.1109/TKDE.2014.2345382>, and the\nExponentially Weighted Moving Average (EWMA) chart of Ross et\nal. (2012) <doi:10.1016/j.patrec.2011.08.019>.\nDistribution-based methods include Adaptive Windowing (ADWIN)\nof Bifet and Gavalda (2007) <doi:10.1137/1.9781611972771.42>,\nKolmogorov-Smirnov Windowing (KSWIN) of Raab et al. (2020)\n<doi:10.1016/j.neucom.2019.11.111>, and the Page-Hinkley test\nof Page (1954) <doi:10.1093/biomet/41.1-2.100>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/bonijoao/deriva,\nhttps://bonijoao.github.io/deriva/",
  "BugReports": "https://github.com/bonijoao/deriva/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://bonijoao.r-universe.dev",
  "Date/Publication": "2026-09-30 00:31:32 UTC",
  "RemoteUrl": "https://github.com/bonijoao/deriva",
  "RemoteRef": "HEAD",
  "RemoteSha": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-30 00:56:55 UTC",
    "User": "root"
  },
  "Author": "João Paulo Assis Bonifácio [aut, cre] (ORCID:\n<https://orcid.org/0009-0009-2335-8391>),\nGeraldo Magela da Cruz Pereira [aut] (ORCID:\n<https://orcid.org/0000-0001-6280-4870>),\nPedro Mambelli Fernandes [aut] (ORCID:\n<https://orcid.org/0009-0001-1695-279X>)",
  "Maintainer": "João Paulo Assis Bonifácio <jpab.27@hotmail.com>",
  "_user": "bonijoao",
  "_type": "src",
  "_file": "deriva_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0dcab6a1b2bba6e78c964c776a31e3d13fd13e329bab2ff87a85334345b96e46",
  "_filesize": 335059,
  "_sha256": "0dcab6a1b2bba6e78c964c776a31e3d13fd13e329bab2ff87a85334345b96e46",
  "_expires": "2027-01-08T01:01:01.000Z",
  "_created": "2026-09-30T00:56:55.000Z",
  "_published": "2026-09-30T01:01:07.268Z",
  "_jobs": [
    {
      "job": 109690455396,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11070717747"
    },
    {
      "job": 109690455410,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11070777719"
    },
    {
      "job": 109690455541,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11071057261"
    },
    {
      "job": 109690455526,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11070772688"
    },
    {
      "job": 109689383071,
      "time": 260,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11071337576"
    },
    {
      "job": 109690455405,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11070732591"
    },
    {
      "job": 109690455439,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11071228130"
    },
    {
      "job": 109690455484,
      "time": 91,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11071635487"
    },
    {
      "job": 109690455395,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11071401400"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937",
  "_status": "success",
  "_upstream": "https://github.com/bonijoao/deriva",
  "_commit": {
    "id": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
    "author": "João Paulo Assis Bonifácio <87396526+bonijoao@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update logo image height in README\n\nIncreased the logo image height in the README.",
    "time": 1790728292
  },
  "_maintainer": {
    "name": "João Paulo Assis Bonifácio",
    "email": "jpab.27@hotmail.com",
    "login": "bonijoao",
    "description": "Physicist | MSc & BSc in Statistics | R package developer | Time Series & Machine Learning",
    "uuid": 87396526,
    "orcid": "0009-0009-2335-8391"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bonijoao",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-24",
      "n": 31
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-29",
      "n": 8
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 5
    },
    {
      "week": "2026-40",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-08-13"
    },
    {
      "name": "v0.2.0",
      "date": "2026-09-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bonijoao",
      "count": 81,
      "uuid": 87396526
    }
  ],
  "_userbio": {
    "uuid": 87396526,
    "type": "user",
    "name": "João Paulo Assis Bonifácio",
    "followers": 0,
    "description": "Physicist | MSc & BSc in Statistics | R package developer | Time Series & Machine Learning"
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/deriva"
  },
  "_devurl": "https://github.com/bonijoao/deriva",
  "_pkgdown": "https://bonijoao.github.io/deriva/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/deriva.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bonijoao/deriva",
  "_realowner": "bonijoao",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-03"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-20"
    }
  ],
  "_exports": [
    "add_prediction_error",
    "advance",
    "augment",
    "detect_drift",
    "drift_detector",
    "fit",
    "glance",
    "sim_dist_stream",
    "sim_drift_stream",
    "tidy"
  ],
  "_datasets": [
    {
      "name": "credit_monitoring",
      "title": "Simulated credit monitoring stream",
      "object": "credit_monitoring",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "t",
        "error",
        "drift_true"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "sensor_monitoring",
      "title": "Simulated sensor monitoring stream",
      "object": "sensor_monitoring",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "t",
        "value",
        "drift_true"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_prediction_error",
      "title": "Build a drift signal from model predictions",
      "topics": [
        "add_prediction_error"
      ]
    },
    {
      "page": "advance",
      "title": "Advance a fitted drift detector over a new batch",
      "topics": [
        "advance",
        "advance.drift_detector_fit"
      ]
    },
    {
      "page": "augment.drift_detector_fit",
      "title": "Annotated observations from a fitted drift detector",
      "topics": [
        "augment.drift_detector_fit"
      ]
    },
    {
      "page": "autoplot.drift_detector_fit",
      "title": "Plot the monitored signal with drift markings",
      "topics": [
        "autoplot.drift_detector_fit"
      ]
    },
    {
      "page": "credit_monitoring",
      "title": "Simulated credit monitoring stream",
      "topics": [
        "credit_monitoring"
      ]
    },
    {
      "page": "detect_drift",
      "title": "Detect drift in a signal column (one-shot shortcut)",
      "topics": [
        "detect_drift"
      ]
    },
    {
      "page": "drift_detector",
      "title": "Specify a drift detector",
      "topics": [
        "drift_detector"
      ]
    },
    {
      "page": "fit.drift_detector",
      "title": "Fit a drift detector on a baseline period",
      "topics": [
        "fit.drift_detector"
      ]
    },
    {
      "page": "glance.drift_detector_fit",
      "title": "One-row summary of a fitted detector",
      "topics": [
        "glance.drift_detector_fit"
      ]
    },
    {
      "page": "sensor_monitoring",
      "title": "Simulated sensor monitoring stream",
      "topics": [
        "sensor_monitoring"
      ]
    },
    {
      "page": "sim_dist_stream",
      "title": "Simulate a continuous stream with a known distribution-shift point",
      "topics": [
        "sim_dist_stream"
      ]
    },
    {
      "page": "sim_drift_stream",
      "title": "Simulate a binary error stream with a known drift point",
      "topics": [
        "sim_drift_stream"
      ]
    },
    {
      "page": "tidy.drift_detector_fit",
      "title": "Drift points of a fitted detector",
      "topics": [
        "tidy.drift_detector_fit"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bonijoao/deriva/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bonijoao/deriva/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "rlang",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "distribution-detectors.Rmd",
      "filename": "distribution-detectors.html",
      "title": "Distribution-Based Drift Detection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Error-based vs. distribution-based",
        "The running example: a drifting sensor",
        "Detecting the shift with KSWIN",
        "Other distribution-based methods"
      ],
      "created": "2026-09-20 17:12:05",
      "modified": "2026-09-20 17:12:05",
      "commits": 1
    },
    {
      "source": "deriva.Rmd",
      "filename": "deriva.html",
      "title": "Getting Started with deriva",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is concept drift?",
        "The running example: a credit-approval model",
        "Quick start",
        "The deriva interface",
        "1. Specify a detector",
        "2. Fit on a baseline",
        "3. Advance over new batches",
        "4. Inspect results",
        "Bridging from tidymodels",
        "Distribution-based detectors",
        "Available methods",
        "Summary"
      ],
      "created": "2026-06-17 01:37:26",
      "modified": "2026-09-20 17:12:05",
      "commits": 3
    }
  ],
  "_score": 4.845098040014257,
  "_indexed": true,
  "_nocasepkg": "deriva",
  "_universes": [
    "bonijoao"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-30T00:59:26.000Z",
      "distro": "resolute",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/fb1ec3738da7f8e63668107e9c77d6bbafca38b3acf10339bdfb9a8a9e4600b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-30T00:59:25.000Z",
      "distro": "resolute",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/738e1c090a7e254a73f8356d2d9dfcc210665aa2265ba0527d17e264a95793d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-30T01:00:09.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/2936111477fe2c10cf683773cafe6e7ca8f2cfcbfb1ee1bf50cb0c033729dc5e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-30T00:59:13.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/6159099355476c046e228f64fdbceadd1924853802cd26cfacafe674867a81e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-30T00:59:03.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/add595c10c9cfc2223cf608cf601f7c82b4d13820f14af3d628e6adc36589943",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T00:57:54.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/5601323744ae3cd97a9024f1febf894a0e3aa58e48feaa6a0c51133073e0adbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T00:58:03.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/043ddb06a34b9f751c0eb102ecd839bf8d4183573e77eb28c3dc0cf9125b4cac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-30T00:58:03.000Z",
      "commit": "80a697afa3427051dc00a3d49ea4f4a8702c35ed",
      "fileid": "https://r2.ropensci.org/526bf25bc2266435de63db90d516faaa34bfd34af6849e09cf43f39407df96ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bonijoao/actions/runs/36652405937"
    }
  ]
}