{
  "_id": "6a10aac8acfb0bcc41cbf238",
  "Package": "vip",
  "Type": "Package",
  "Title": "Variable Importance Plots",
  "Version": "0.4.6",
  "Authors@R": "c(\nperson(c(\"Brandon\", \"M.\"), family = \"Greenwell\",\nemail = \"greenwell.brandon@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8120-0084\")),\nperson(\"Brad\", \"Boehmke\",\nemail = \"bradleyboehmke@gmail.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-3611-8516\"))\n)",
  "Description": "A general framework for constructing variable importance\nplots from various types of machine learning models in R. Aside\nfrom some standard model- specific variable importance\nmeasures, this package also provides model- agnostic approaches\nthat can be applied to any supervised learning algorithm. These\ninclude 1) an efficient permutation-based variable importance\nmeasure, 2) variable importance based on Shapley values\n(Strumbelj and Kononenko, 2014)\n<doi:10.1007/s10115-013-0679-x>, and 3) the variance-based\napproach described in Greenwell et al. (2018)\n<doi:10.48550/arXiv.1805.04755>. A variance-based method for\nquantifying the relative strength of interaction effects is\nalso included (see the previous reference for details).",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/koalaverse/vip/,\nhttps://koalaverse.github.io/vip/",
  "BugReports": "https://github.com/koalaverse/vip/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://koalaverse.r-universe.dev",
  "Date/Publication": "2026-04-22 01:15:09 UTC",
  "RemoteUrl": "https://github.com/koalaverse/vip",
  "RemoteRef": "HEAD",
  "RemoteSha": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 18:50:44 UTC",
    "User": "root"
  },
  "Author": "Brandon M. Greenwell [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8120-0084>),\nBrad Boehmke [aut] (ORCID: <https://orcid.org/0000-0002-3611-8516>)",
  "Maintainer": "Brandon M. Greenwell <greenwell.brandon@gmail.com>",
  "MD5sum": "7c8848dae314fc9a561e502194c04104",
  "_user": "koalaverse",
  "_type": "src",
  "_file": "vip_0.4.6.tar.gz",
  "_fileid": "f44b1436bde99992587aea5535c228761ee5039364eb9f262052f2e505bc09f3",
  "_filesize": 2603726,
  "_sha256": "f44b1436bde99992587aea5535c228761ee5039364eb9f262052f2e505bc09f3",
  "_created": "2026-05-22T18:50:44.000Z",
  "_published": "2026-05-22T19:13:12.065Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77443117646,
      "time": 246,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7168173012"
    },
    {
      "job": 77443117601,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168169737"
    },
    {
      "job": 77443117637,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7168440324"
    },
    {
      "job": 77443117612,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168302432"
    },
    {
      "job": 77442379926,
      "time": 286,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168051385"
    },
    {
      "job": 77443117556,
      "time": 206,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168159423"
    },
    {
      "job": 77443117633,
      "time": 191,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7168153482"
    },
    {
      "job": 77443117634,
      "time": 165,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7168150123"
    },
    {
      "job": 77443117651,
      "time": 155,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7168147278"
    }
  ],
  "_buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/koalaverse/vip",
  "_commit": {
    "id": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
    "author": "Brandon Greenwell <greenwbm@Mac-6655.lan>",
    "committer": "Brandon Greenwell <greenwbm@Mac-6655.lan>",
    "message": "Bump to 0.4.6; fix CRAN test failures in test_vi_firm.R\n\nThree bugs in inst/tinytest/test_vi_firm.R that caused r-devel CRAN\nfailures (could not find function \"ranger\"):\n\n- Use ranger::ranger() instead of unqualified ranger(); requireNamespace()\n  loads a namespace but does not attach it to the search path\n- Pass train = titanic explicitly to all vi_firm()/vi() calls; ranger\n  models have no get_training_data method so the default auto-extraction\n  just throws an error\n- Narrow expect_equal() assertions to compare $Importance only; prob=TRUE\n  and a custom pfun produce the same importance scores but different raw\n  effects attributes, making whole-object comparison too strict\n\nAlso fixes stale xrefs in man/vi_model.Rd (xgb.train -> xgboost).\n",
    "time": 1776820509
  },
  "_maintainer": {
    "name": "Brandon M. Greenwell",
    "email": "greenwell.brandon@gmail.com",
    "login": "bgreenwell",
    "twitter": "@bgreenwell8",
    "description": "Director, Data Science at 84.51° and Adjunct Instructor at the University of Cincinnati.",
    "uuid": 3777755,
    "orcid": "0000-0002-8120-0084"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 0.9.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "yardstick",
      "role": "Imports"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "fastshap",
      "version": ">= 0.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "modeldata",
      "role": "Suggests"
    },
    {
      "package": "NeuralNetTools",
      "role": "Suggests"
    },
    {
      "package": "pdp",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "version": ">= 1.4.1",
      "role": "Suggests"
    },
    {
      "package": "varImp",
      "role": "Suggests"
    },
    {
      "package": "C50",
      "role": "Enhances"
    },
    {
      "package": "caret",
      "role": "Enhances"
    },
    {
      "package": "Cubist",
      "role": "Enhances"
    },
    {
      "package": "earth",
      "role": "Enhances"
    },
    {
      "package": "gbm",
      "role": "Enhances"
    },
    {
      "package": "glmnet",
      "role": "Enhances"
    },
    {
      "package": "h2o",
      "role": "Enhances"
    },
    {
      "package": "lightgbm",
      "role": "Enhances"
    },
    {
      "package": "mixOmics",
      "role": "Enhances"
    },
    {
      "package": "mlr",
      "role": "Enhances"
    },
    {
      "package": "mlr3",
      "role": "Enhances"
    },
    {
      "package": "neuralnet",
      "role": "Enhances"
    },
    {
      "package": "nnet",
      "role": "Enhances"
    },
    {
      "package": "parsnip",
      "version": ">= 0.1.7",
      "role": "Enhances"
    },
    {
      "package": "party",
      "role": "Enhances"
    },
    {
      "package": "partykit",
      "role": "Enhances"
    },
    {
      "package": "pls",
      "role": "Enhances"
    },
    {
      "package": "randomForest",
      "role": "Enhances"
    },
    {
      "package": "ranger",
      "role": "Enhances"
    },
    {
      "package": "rpart",
      "role": "Enhances"
    },
    {
      "package": "RSNNS",
      "role": "Enhances"
    },
    {
      "package": "sparklyr",
      "version": ">= 0.8.0",
      "role": "Enhances"
    },
    {
      "package": "tidymodels",
      "role": "Enhances"
    },
    {
      "package": "workflows",
      "version": ">= 0.2.3",
      "role": "Enhances"
    },
    {
      "package": "xgboost",
      "role": "Enhances"
    }
  ],
  "_owner": "koalaverse",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "interaction-effect",
    "machine-learning",
    "partial-dependence-plot",
    "supervised-learning-algorithms",
    "variable-importance",
    "variable-importance-plots"
  ],
  "_stars": 190,
  "_contributors": [
    {
      "user": "bgreenwell",
      "count": 254,
      "uuid": 3777755
    },
    {
      "user": "brandongreenwell-8451",
      "count": 93,
      "uuid": 103137323
    },
    {
      "user": "bfgray3",
      "count": 12,
      "uuid": 20310144
    },
    {
      "user": "bradleyboehmke",
      "count": 9,
      "uuid": 6753598
    },
    {
      "user": "topepo",
      "count": 3,
      "uuid": 5731043
    },
    {
      "user": "atusy",
      "count": 1,
      "uuid": 30277794
    }
  ],
  "_userbio": {
    "uuid": 36773814,
    "type": "organization",
    "name": "koalaverse",
    "description": "A collection of koality code, software packages, and educational material for data science."
  },
  "_downloads": {
    "count": 18008,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/vip"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/koalaverse/vip",
  "_pkgdown": "https://koalaverse.github.io/vip/",
  "_searchresults": 4768,
  "_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/vip.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/koalaverse/vip",
  "_realowner": "koalaverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-06-15"
    },
    {
      "version": "0.1.1",
      "date": "2018-09-27"
    },
    {
      "version": "0.1.2",
      "date": "2018-09-30"
    },
    {
      "version": "0.1.3",
      "date": "2019-07-10"
    },
    {
      "version": "0.2.0",
      "date": "2020-01-19"
    },
    {
      "version": "0.2.1",
      "date": "2020-01-20"
    },
    {
      "version": "0.2.2",
      "date": "2020-04-06"
    },
    {
      "version": "0.3.2",
      "date": "2020-12-17"
    },
    {
      "version": "0.4.0",
      "date": "2023-07-19"
    },
    {
      "version": "0.4.1",
      "date": "2023-08-21"
    },
    {
      "version": "0.4.2",
      "date": "2025-12-02"
    },
    {
      "version": "0.4.3",
      "date": "2025-12-12"
    },
    {
      "version": "0.4.5",
      "date": "2025-12-12"
    },
    {
      "version": "0.4.6",
      "date": "2026-04-23"
    }
  ],
  "_exports": [
    "gen_friedman",
    "list_metrics",
    "vi",
    "vi_firm",
    "vi_model",
    "vi_permute",
    "vi_shap",
    "vip"
  ],
  "_datasets": [
    {
      "name": "titanic",
      "title": "Survival of Titanic passengers",
      "object": "titanic",
      "file": "titanic.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "survived",
        "pclass",
        "age",
        "sex",
        "sibsp",
        "parch"
      ],
      "rows": 1309,
      "table": true,
      "tojson": true
    },
    {
      "name": "titanic_mice",
      "title": "Survival of Titanic passengers",
      "object": "titanic_mice",
      "file": "titanic_mice.rda",
      "class": [
        "mild",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gen_friedman",
      "title": "Friedman benchmark data",
      "topics": [
        "gen_friedman"
      ]
    },
    {
      "page": "list_metrics",
      "title": "List metrics",
      "topics": [
        "list_metrics"
      ]
    },
    {
      "page": "titanic",
      "title": "Survival of Titanic passengers",
      "topics": [
        "titanic"
      ]
    },
    {
      "page": "titanic_mice",
      "title": "Survival of Titanic passengers",
      "topics": [
        "titanic_mice"
      ]
    },
    {
      "page": "vi",
      "title": "Variable importance",
      "topics": [
        "vi",
        "vi.default"
      ]
    },
    {
      "page": "vi_firm",
      "title": "Variance-based variable importance",
      "topics": [
        "vi_firm",
        "vi_firm.default"
      ]
    },
    {
      "page": "vi_model",
      "title": "Model-specific variable importance",
      "topics": [
        "vi_model",
        "vi_model.C5.0",
        "vi_model.cforest",
        "vi_model.constparty",
        "vi_model.cubist",
        "vi_model.cv.glmnet",
        "vi_model.default",
        "vi_model.earth",
        "vi_model.gbm",
        "vi_model.glmnet",
        "vi_model.H2OBinomialModel",
        "vi_model.H2OMultinomialModel",
        "vi_model.H2ORegressionModel",
        "vi_model.Learner",
        "vi_model.lgb.Booster",
        "vi_model.lm",
        "vi_model.mixo_pls",
        "vi_model.mixo_spls",
        "vi_model.mlp",
        "vi_model.ml_model_decision_tree_classification",
        "vi_model.ml_model_decision_tree_regression",
        "vi_model.ml_model_gbt_classification",
        "vi_model.ml_model_gbt_regression",
        "vi_model.ml_model_generalized_linear_regression",
        "vi_model.ml_model_linear_regression",
        "vi_model.ml_model_random_forest_classification",
        "vi_model.ml_model_random_forest_regression",
        "vi_model.model_fit",
        "vi_model.mvr",
        "vi_model.nn",
        "vi_model.nnet",
        "vi_model.RandomForest",
        "vi_model.randomForest",
        "vi_model.ranger",
        "vi_model.rpart",
        "vi_model.train",
        "vi_model.workflow",
        "vi_model.WrappedModel",
        "vi_model.xgb.Booster"
      ]
    },
    {
      "page": "vi_permute",
      "title": "Permutation-based variable importance",
      "topics": [
        "vi_permute",
        "vi_permute.default"
      ]
    },
    {
      "page": "vi_shap",
      "title": "SHAP-based variable importance",
      "topics": [
        "vi_shap",
        "vi_shap.default"
      ]
    },
    {
      "page": "vip",
      "title": "Variable importance plots",
      "topics": [
        "vip",
        "vip.default",
        "vip.Learner",
        "vip.model_fit",
        "vip.workflow",
        "vip.WrappedModel"
      ]
    }
  ],
  "_readme": "https://github.com/koalaverse/vip/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "dplyr",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hardhat",
    "isoband",
    "iterators",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "sparsevctrs",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "yardstick"
  ],
  "_vignettes": [
    {
      "source": "vip.Rmd",
      "filename": "vip.html",
      "title": "Variable Importance Plots—An Introduction to the vip Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Constructing VIPs in R",
        "Model-specific VI",
        "Decision trees and tree ensembles",
        "Linear models",
        "Neural networks",
        "Model-agnostic VI",
        "Variance-based methods",
        "Permutation method",
        "A classification example",
        "Benchmarks",
        "Shapley method",
        "Drawbacks of existing methods",
        "Summary",
        "Acknowledgments",
        "References"
      ],
      "created": "2018-06-20 03:05:00",
      "modified": "2025-09-05 20:51:48",
      "commits": 23
    }
  ],
  "_score": 12.291736575725096,
  "_indexed": true,
  "_nocasepkg": "vip",
  "_universes": [
    "koalaverse",
    "bgreenwell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.6",
      "date": "2026-05-22T18:56:58.000Z",
      "distro": "noble",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "296c97ef09fc3c95f373e261e6333308c339497632b47ee55ce23a85180ea280",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.6",
      "date": "2026-05-22T18:56:44.000Z",
      "distro": "noble",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "78e8de9fc383f71b72267e668548d8f6dbbab0fba713ab1feb41fc9a0d0d7151",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.6",
      "date": "2026-05-22T19:12:24.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "5e8358326b7b7ca506434f03ae846b31303afced89debcf2e72a8ad50a9d2c63",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.6",
      "date": "2026-05-22T19:04:42.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "50108cb37eb36a6809ead0b73ef065ab1dc06e9b1be01cbae5eec1e8d03558c0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.6",
      "date": "2026-05-22T18:57:01.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "a7368d7296b0fde3be23ab2a415534b87599f8e19cc5c9ac1aa0dc950123bbbb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.6",
      "date": "2026-05-22T18:55:48.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "0d7a662a3a794d9e85cb9c85df7f02bebaf6517902829f2febd74886a756a387",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.6",
      "date": "2026-05-22T18:55:36.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "0066bf4de46a9d579c14576359086e6d8e0a1f48ff092a60e7b748e3a61c4b95",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.6",
      "date": "2026-05-22T18:55:12.000Z",
      "commit": "c5b90e78c64adc440f6742f69d364c3a711e10e1",
      "fileid": "396a0b7f81aafe25b86c3a9a9c81142b094e0941f42d13bce49c3868dc490c33",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/26270815030"
    }
  ]
}