{
  "_id": "6a104177acfb0bcc41c9d7a4",
  "Package": "flashlight",
  "Title": "Shed Light on Black Box Machine Learning Models",
  "Version": "1.0.0",
  "Authors@R": "person(\"Michael\", \"Mayer\", , \"mayermichael79@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Shed light on black box machine learning models by the\nhelp of model performance, variable importance, global\nsurrogate models, ICE profiles, partial dependence (Friedman J.\nH. (2001) <doi:10.1214/aos/1013203451>), accumulated local\neffects (Apley D. W. (2016) <doi:10.48550/arXiv.1612.08468>),\nfurther effects plots, interaction strength, and variable\ncontribution breakdown (Gosiewska and Biecek (2019)\n<doi:10.48550/arXiv.1903.11420>).  All tools are implemented to\nwork with case weights and allow for stratified analysis.\nFurthermore, multiple flashlights can be combined and analyzed\ntogether.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/mayer79/flashlight",
  "BugReports": "https://github.com/mayer79/flashlight/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://mayer79.r-universe.dev",
  "Date/Publication": "2025-10-13 15:41:54 UTC",
  "RemoteUrl": "https://github.com/mayer79/flashlight",
  "RemoteRef": "HEAD",
  "RemoteSha": "df383bc210ec3f6da7056bc8d5909719f487f831",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:45:30 UTC",
    "User": "root"
  },
  "Author": "Michael Mayer [aut, cre, cph]",
  "Maintainer": "Michael Mayer <mayermichael79@gmail.com>",
  "MD5sum": "76b5e8a5a24c849f61ca018a499b9b2c",
  "_user": "mayer79",
  "_type": "src",
  "_file": "flashlight_1.0.0.tar.gz",
  "_fileid": "d2f83599baa096fcda71abdc43ebe4e919beab7201dc2b2d3f4d876c30524e27",
  "_filesize": 1590020,
  "_sha256": "d2f83599baa096fcda71abdc43ebe4e919beab7201dc2b2d3f4d876c30524e27",
  "_created": "2026-05-11T07:45:30.000Z",
  "_published": "2026-05-22T11:43:51.332Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77372764113,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912961062"
    },
    {
      "job": 77372764100,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912961239"
    },
    {
      "job": 77372764268,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912954877"
    },
    {
      "job": 77372764157,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912951710"
    },
    {
      "job": 77372763654,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912915031"
    },
    {
      "job": 77372763612,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159667287"
    },
    {
      "job": 77372763992,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912949748"
    },
    {
      "job": 77372764452,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912946193"
    },
    {
      "job": 77372764044,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912947358"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mayer79/flashlight",
  "_commit": {
    "id": "df383bc210ec3f6da7056bc8d5909719f487f831",
    "author": "Michael Mayer <mayermichael79@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #69 from mayer79/cran-submission\n\nCran submission",
    "time": 1760370114
  },
  "_maintainer": {
    "name": "Michael Mayer",
    "email": "mayermichael79@gmail.com",
    "login": "mayer79",
    "uuid": 16206095
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MetricsWeighted",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "rpart.plot",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mayer79",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-42",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-10-13"
    }
  ],
  "_topics": [
    "interpretability",
    "interpretable-machine-learning",
    "machine-learning",
    "xai"
  ],
  "_stars": 25,
  "_contributors": [
    {
      "user": "mayer79",
      "count": 289,
      "uuid": 16206095
    }
  ],
  "_userbio": {
    "uuid": 16206095,
    "type": "user",
    "name": "Michael Mayer",
    "description": "Unbiased statistics | ML"
  },
  "_downloads": {
    "count": 532,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flashlight"
  },
  "_devurl": "https://github.com/mayer79/flashlight",
  "_searchresults": 67,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flashlight.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mayer79/flashlight",
  "_realowner": "mayer79",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-08-25"
    },
    {
      "version": "0.2.0",
      "date": "2019-09-18"
    },
    {
      "version": "0.3.0",
      "date": "2019-10-13"
    },
    {
      "version": "0.4.0",
      "date": "2019-11-10"
    },
    {
      "version": "0.5.0",
      "date": "2019-12-05"
    },
    {
      "version": "0.6.0",
      "date": "2020-01-19"
    },
    {
      "version": "0.7.0",
      "date": "2020-03-12"
    },
    {
      "version": "0.7.1",
      "date": "2020-03-20"
    },
    {
      "version": "0.7.2",
      "date": "2020-04-14"
    },
    {
      "version": "0.7.3",
      "date": "2020-06-20"
    },
    {
      "version": "0.7.4",
      "date": "2021-01-10"
    },
    {
      "version": "0.7.5",
      "date": "2021-02-13"
    },
    {
      "version": "0.8.0",
      "date": "2021-04-21"
    },
    {
      "version": "0.9.0",
      "date": "2023-05-10"
    },
    {
      "version": "1.0.0",
      "date": "2025-10-13"
    }
  ],
  "_exports": [
    "add_shap",
    "flashlight",
    "is.flashlight",
    "is.light",
    "is.light_breakdown",
    "is.light_breakdown_multi",
    "is.light_effects",
    "is.light_effects_multi",
    "is.light_global_surrogate",
    "is.light_global_surrogate_multi",
    "is.light_ice",
    "is.light_ice_multi",
    "is.light_importance",
    "is.light_importance_multi",
    "is.light_performance",
    "is.light_performance_multi",
    "is.light_profile",
    "is.light_profile_multi",
    "is.light_profile2d",
    "is.light_profile2d_multi",
    "is.light_scatter",
    "is.light_scatter_multi",
    "is.multiflashlight",
    "is.shap",
    "light_breakdown",
    "light_check",
    "light_combine",
    "light_effects",
    "light_global_surrogate",
    "light_ice",
    "light_importance",
    "light_interaction",
    "light_performance",
    "light_profile",
    "light_profile2d",
    "light_recode",
    "light_scatter",
    "most_important",
    "multiflashlight",
    "plot_counts",
    "response"
  ],
  "_help": [
    {
      "page": "add_shap",
      "title": "DEPRECATED",
      "topics": [
        "add_shap"
      ]
    },
    {
      "page": "flashlight",
      "title": "Create or Update a flashlight",
      "topics": [
        "flashlight",
        "flashlight.default",
        "flashlight.flashlight"
      ]
    },
    {
      "page": "is.flashlight",
      "title": "Check functions for flashlight Classes",
      "topics": [
        "is.flashlight",
        "is.light",
        "is.light_breakdown",
        "is.light_breakdown_multi",
        "is.light_effects",
        "is.light_effects_multi",
        "is.light_global_surrogate",
        "is.light_global_surrogate_multi",
        "is.light_ice",
        "is.light_ice_multi",
        "is.light_importance",
        "is.light_importance_multi",
        "is.light_performance",
        "is.light_performance_multi",
        "is.light_profile",
        "is.light_profile2d",
        "is.light_profile2d_multi",
        "is.light_profile_multi",
        "is.light_scatter",
        "is.light_scatter_multi",
        "is.multiflashlight",
        "is.shap"
      ]
    },
    {
      "page": "light_breakdown",
      "title": "Variable Contribution Breakdown for Single Observation",
      "topics": [
        "light_breakdown",
        "light_breakdown.default",
        "light_breakdown.flashlight",
        "light_breakdown.multiflashlight"
      ]
    },
    {
      "page": "light_check",
      "title": "Check flashlight",
      "topics": [
        "light_check",
        "light_check.default",
        "light_check.flashlight",
        "light_check.multiflashlight"
      ]
    },
    {
      "page": "light_combine",
      "title": "Combine Objects",
      "topics": [
        "light_combine",
        "light_combine.default",
        "light_combine.light",
        "light_combine.list"
      ]
    },
    {
      "page": "light_effects",
      "title": "Combination of Response, Predicted, Partial Dependence, and ALE profiles.",
      "topics": [
        "light_effects",
        "light_effects.default",
        "light_effects.flashlight",
        "light_effects.multiflashlight"
      ]
    },
    {
      "page": "light_global_surrogate",
      "title": "Global Surrogate Tree",
      "topics": [
        "light_global_surrogate",
        "light_global_surrogate.default",
        "light_global_surrogate.flashlight",
        "light_global_surrogate.multiflashlight"
      ]
    },
    {
      "page": "light_ice",
      "title": "Individual Conditional Expectation (ICE)",
      "topics": [
        "light_ice",
        "light_ice.default",
        "light_ice.flashlight",
        "light_ice.multiflashlight"
      ]
    },
    {
      "page": "light_importance",
      "title": "Permutation Variable Importance",
      "topics": [
        "light_importance",
        "light_importance.default",
        "light_importance.flashlight",
        "light_importance.multiflashlight"
      ]
    },
    {
      "page": "light_interaction",
      "title": "Interaction Strength",
      "topics": [
        "light_interaction",
        "light_interaction.default",
        "light_interaction.flashlight",
        "light_interaction.multiflashlight"
      ]
    },
    {
      "page": "light_performance",
      "title": "Model Performance of Flashlight",
      "topics": [
        "light_performance",
        "light_performance.default",
        "light_performance.flashlight",
        "light_performance.multiflashlight"
      ]
    },
    {
      "page": "light_profile",
      "title": "Partial Dependence and other Profiles",
      "topics": [
        "light_profile",
        "light_profile.default",
        "light_profile.flashlight",
        "light_profile.multiflashlight"
      ]
    },
    {
      "page": "light_profile2d",
      "title": "2D Partial Dependence and other 2D Profiles",
      "topics": [
        "light_profile2d",
        "light_profile2d.default",
        "light_profile2d.flashlight",
        "light_profile2d.multiflashlight"
      ]
    },
    {
      "page": "light_recode",
      "title": "DEPRECATED",
      "topics": [
        "light_recode"
      ]
    },
    {
      "page": "light_scatter",
      "title": "Scatter Plot Data",
      "topics": [
        "light_scatter",
        "light_scatter.default",
        "light_scatter.flashlight",
        "light_scatter.multiflashlight"
      ]
    },
    {
      "page": "most_important",
      "title": "Most Important Variables.",
      "topics": [
        "most_important"
      ]
    },
    {
      "page": "multiflashlight",
      "title": "Create or Update a multiflashlight",
      "topics": [
        "multiflashlight",
        "multiflashlight.default",
        "multiflashlight.flashlight",
        "multiflashlight.list",
        "multiflashlight.multiflashlight"
      ]
    },
    {
      "page": "plot_counts",
      "title": "DEPRECATED",
      "topics": [
        "plot_counts"
      ]
    },
    {
      "page": "plot.light_breakdown",
      "title": "Visualize Variable Contribution Breakdown for Single Observation",
      "topics": [
        "plot.light_breakdown"
      ]
    },
    {
      "page": "plot.light_effects",
      "title": "Visualize Multiple Types of Profiles Together",
      "topics": [
        "plot.light_effects"
      ]
    },
    {
      "page": "plot.light_global_surrogate",
      "title": "Plot Global Surrogate Trees",
      "topics": [
        "plot.light_global_surrogate"
      ]
    },
    {
      "page": "plot.light_ice",
      "title": "Visualize ICE profiles",
      "topics": [
        "plot.light_ice"
      ]
    },
    {
      "page": "plot.light_importance",
      "title": "Visualize Variable Importance",
      "topics": [
        "plot.light_importance"
      ]
    },
    {
      "page": "plot.light_performance",
      "title": "Visualize Model Performance",
      "topics": [
        "plot.light_performance"
      ]
    },
    {
      "page": "plot.light_profile",
      "title": "Visualize Profiles, e.g. Partial Dependence",
      "topics": [
        "plot.light_profile"
      ]
    },
    {
      "page": "plot.light_profile2d",
      "title": "Visualize 2D-Profiles, e.g., of Partial Dependence",
      "topics": [
        "plot.light_profile2d"
      ]
    },
    {
      "page": "plot.light_scatter",
      "title": "Scatter Plot",
      "topics": [
        "plot.light_scatter"
      ]
    },
    {
      "page": "predict.flashlight",
      "title": "Predictions for flashlight",
      "topics": [
        "predict.flashlight"
      ]
    },
    {
      "page": "predict.multiflashlight",
      "title": "Predictions for multiflashlight",
      "topics": [
        "predict.multiflashlight"
      ]
    },
    {
      "page": "print.flashlight",
      "title": "Prints a flashlight",
      "topics": [
        "print.flashlight"
      ]
    },
    {
      "page": "print.light",
      "title": "Prints light Object",
      "topics": [
        "print.light"
      ]
    },
    {
      "page": "print.multiflashlight",
      "title": "Prints a multiflashlight",
      "topics": [
        "print.multiflashlight"
      ]
    },
    {
      "page": "residuals.flashlight",
      "title": "Residuals for flashlight",
      "topics": [
        "residuals.flashlight"
      ]
    },
    {
      "page": "residuals.multiflashlight",
      "title": "Residuals for multiflashlight",
      "topics": [
        "residuals.multiflashlight"
      ]
    },
    {
      "page": "response",
      "title": "Response of multi/-flashlight",
      "topics": [
        "response",
        "response.default",
        "response.flashlight",
        "response.multiflashlight"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mayer79/flashlight/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mayer79/flashlight/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "MetricsWeighted",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "rpart",
    "rpart.plot",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "flashlight.Rmd",
      "filename": "flashlight.html",
      "title": "Using flashlight",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Usage",
        "Performance",
        "Permutation importance regarding first metric",
        "ICE curves for Petal.Width",
        "PDPs",
        "2D PDP",
        "ALE",
        "Different profile plots in one",
        "Variable contribution breakdown for single observation",
        "Global surrogate tree",
        "Multiple models",
        "flashlights",
        "Typical predict_functions (a selection)",
        "References"
      ],
      "created": "2019-08-19 18:17:09",
      "modified": "2025-10-13 07:21:47",
      "commits": 33
    }
  ],
  "_score": 6.701136066092527,
  "_indexed": true,
  "_nocasepkg": "flashlight",
  "_universes": [
    "mayer79"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T07:47:46.000Z",
      "distro": "noble",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "350368d35e6ef6eccdbaa83618f627e1e72a2a120618d0488404091108cc90d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T07:47:47.000Z",
      "distro": "noble",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "7a5e955cdb670b98e6daf1b32227cd2b92deec39d32d73bcf3cc228de6f9b3d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T07:47:29.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "f2675be390c57b17b96ed924321f8f26163c6178574b63ec99ff6221b4846a19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T07:47:16.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "424fd01e84e55c4e4fa29e5991f8ffef10bba7a87104d980f7b593000fa39682",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:47:01.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "ddf9e5506e621a7759a7a99521070f49ffa4b0e6583dbc0f607e3eb6eb0097aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:46:47.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "ebcb5bbcd30f492657c595d4453264d9077429fa41d087aec344f2f6debf63e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:46:51.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "b424070678e5628c21fb2b0d866a4231e097d94c4b371c6f2ff2d388246bf446",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T11:43:33.000Z",
      "commit": "df383bc210ec3f6da7056bc8d5909719f487f831",
      "fileid": "cc385a4b5373b9665fe5bee7c47bf859d77dcb5695d2626bce8c9407d6a38c57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mayer79/actions/runs/25657014382"
    }
  ]
}