{
  "_id": "6a102c63acfb0bcc41c9338f",
  "Package": "rfVarImpOOB",
  "Title": "Unbiased Variable Importance for Random Forests",
  "Version": "1.0.3",
  "Date": "2022-06-30",
  "Author": "Markus Loecher <Markus.Loecher@gmail.com>",
  "Maintainer": "Markus Loecher <Markus.Loecher@gmail.com>",
  "Description": "Computes a novel variable importance for random forests:\nImpurity reduction importance scores for out-of-bag (OOB) data\ncomplementing the existing inbag Gini importance, see also\n<doi: 10.1080/03610926.2020.1764042>. The Gini impurities for\ninbag and OOB data are combined in three different ways, after\nwhich the information gain is computed at each split. This gain\nis aggregated for each split variable in a tree and averaged\nacross trees.",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 10:10:27 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://markusloecher.r-universe.dev",
  "Date/Publication": "2022-07-01 13:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/rfVarImpOOB",
  "RemoteRef": "HEAD",
  "RemoteSha": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
  "MD5sum": "2ece8b357c1d98b83083f20bf82319fb",
  "_user": "markusloecher",
  "_type": "src",
  "_file": "rfVarImpOOB_1.0.3.tar.gz",
  "_fileid": "70e27c430b3a70d62b607c63f0ef69f1b344bbb30f24aca37c2170df3ff5e554",
  "_filesize": 236604,
  "_sha256": "70e27c430b3a70d62b607c63f0ef69f1b344bbb30f24aca37c2170df3ff5e554",
  "_created": "2026-05-22T10:10:27.000Z",
  "_published": "2026-05-22T10:13:55.805Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77359470627,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7158092172"
    },
    {
      "job": 77359470635,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7158092267"
    },
    {
      "job": 77359470565,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7158078582"
    },
    {
      "job": 77359470517,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7158077008"
    },
    {
      "job": 77358915997,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158039006"
    },
    {
      "job": 77359470486,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158078044"
    },
    {
      "job": 77359470658,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7158075800"
    },
    {
      "job": 77359470536,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7158074615"
    },
    {
      "job": 77359470591,
      "time": 121,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7158076319"
    }
  ],
  "_buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rfVarImpOOB",
  "_commit": {
    "id": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
    "author": "Markus Loecher <Markus.Loecher@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1656682802
  },
  "_maintainer": {
    "name": "Markus Loecher",
    "email": "markus.loecher@gmail.com",
    "login": "markusloecher",
    "description": "",
    "uuid": 7353291
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.2",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "randomForest",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "titanic",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "markusloecher",
      "count": 3,
      "uuid": 7353291
    }
  ],
  "_userbio": {
    "uuid": 7353291,
    "type": "user",
    "name": "Markus Loecher"
  },
  "_downloads": {
    "count": 202,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rfVarImpOOB"
  },
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rfVarImpOOB.html",
    "manual.pdf"
  ],
  "_realowner": "markusloecher",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2019-04-05"
    },
    {
      "version": "1.0.1",
      "date": "2020-10-18"
    },
    {
      "version": "1.0.3",
      "date": "2022-07-01"
    }
  ],
  "_exports": [
    "Accuracy",
    "gini_index",
    "gini_process",
    "GiniImportanceForest",
    "GiniImportanceTree",
    "InOutBags",
    "lpnorm",
    "mlogloss",
    "Mode",
    "plotVI",
    "plotVI2",
    "preorder2",
    "rfTitanic"
  ],
  "_datasets": [
    {
      "name": "arabidopsis",
      "title": "Arabidopsis thaliana",
      "object": "arabidopsis",
      "class": [
        "data.frame"
      ],
      "fields": [
        "edit",
        "X.20",
        "X.19",
        "X.18",
        "X.17",
        "X.16",
        "X.15",
        "X.14",
        "X.13",
        "X.12",
        "X.11",
        "X.10",
        "X.9",
        "X.8",
        "X.7",
        "X.6",
        "X.5",
        "X.4",
        "X.3",
        "X.2",
        "X.1",
        "X1",
        "X2",
        "X3",
        "X4",
        "X5",
        "X6",
        "X7",
        "X8",
        "X9",
        "X10",
        "X11",
        "X12",
        "X13",
        "X14",
        "X15",
        "X16",
        "X17",
        "X18",
        "X19",
        "X20",
        "cp",
        "fe",
        "dfe"
      ],
      "rows": 876,
      "table": true,
      "tojson": true
    },
    {
      "name": "titanic_train",
      "title": "Titanic train data.",
      "object": "titanic_train",
      "class": [
        "data.frame"
      ],
      "fields": [
        "PassengerId",
        "Survived",
        "Pclass",
        "Name",
        "Sex",
        "Age",
        "SibSp",
        "Parch",
        "Ticket",
        "Fare",
        "Cabin",
        "Embarked"
      ],
      "rows": 891,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Accuracy",
      "title": "computes accuracy of a vector",
      "topics": [
        "Accuracy"
      ]
    },
    {
      "page": "arabidopsis",
      "title": "Arabidopsis thaliana",
      "topics": [
        "arabidopsis"
      ]
    },
    {
      "page": "gini_index",
      "title": "compute Gini impurity for binary values only",
      "topics": [
        "gini_index"
      ]
    },
    {
      "page": "gini_process",
      "title": "computes Gini index",
      "topics": [
        "gini_process"
      ]
    },
    {
      "page": "GiniImportanceForest",
      "title": "computes inbag and OOB Gini importance averaged over all trees in a forest",
      "topics": [
        "GiniImportanceForest"
      ]
    },
    {
      "page": "GiniImportanceTree",
      "title": "computes Gini information gain for one tree from randomForest",
      "topics": [
        "GiniImportanceTree"
      ]
    },
    {
      "page": "InOutBags",
      "title": "separates data into inbag and outbag",
      "topics": [
        "InOutBags"
      ]
    },
    {
      "page": "lpnorm",
      "title": "Compute the Lp norm of a vector.",
      "topics": [
        "lpnorm"
      ]
    },
    {
      "page": "mlogloss",
      "title": "computes log loss for multiclass problem",
      "topics": [
        "mlogloss"
      ]
    },
    {
      "page": "Mode",
      "title": "computes the mode of an array",
      "topics": [
        "Mode"
      ]
    },
    {
      "page": "plotVI",
      "title": "creates barplots for variable importances",
      "topics": [
        "plotVI"
      ]
    },
    {
      "page": "plotVI2",
      "title": "creates barplots for variable importances",
      "topics": [
        "plotVI2"
      ]
    },
    {
      "page": "preorder2",
      "title": "recursive traversal of tree assigning row numbers of data for each node and leaf",
      "topics": [
        "preorder2"
      ]
    },
    {
      "page": "rfTitanic",
      "title": "fit a random forest model on the titanic data",
      "topics": [
        "rfTitanic"
      ]
    },
    {
      "page": "splitBag",
      "title": "splits the data from parent node into left and right children",
      "topics": [
        "splitBag"
      ]
    },
    {
      "page": "titanic_train",
      "title": "Titanic train data.",
      "topics": [
        "titanic_train"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "randomForest",
    "ranger",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "titanic",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "rfVarImpOOB-vignette.Rmd",
      "filename": "rfVarImpOOB-vignette.html",
      "title": "Variable Importance based on reduction of Gini on OOB",
      "author": "Markus Loecher",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Variable importance in trees",
        "Penalized Gini Impurity applied to Titanic data"
      ],
      "created": "2019-04-05 11:50:06",
      "modified": "2020-10-18 08:00:02",
      "commits": 2
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "rfvarimpoob",
  "_universes": [
    "markusloecher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:52.000Z",
      "distro": "noble",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "902c5c04f87400645464dbb64bfb07c8a0720f343d94e644cd21728b87580dba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:52.000Z",
      "distro": "noble",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "2acc69ecede124fb1bf956c2d9a9cb3eedc194902b72cb1b420599d28b902b95",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:20.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "03870655e24ec3d6fbb5db820b3cce69f5f75ed6a0abbb1c5f18e42fbba5d742",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:14.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "0c13838d8ee0c8e1565aee0b38f7fef69664b7f2e5eb6dda730d827b3583aa1e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:51.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "bf07a13278f9cb6df767e576ff082a1ada744da17f49d0608f1652c301dac57e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T10:12:00.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "d9512d5b5ef730af558f1a28a39fb953efb963a24e9d8a8beb5714f2da2ab44a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T10:11:49.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "ce2add39eba0291e2023559c6fb66fc8979fed9e6a29d2afd298fad6c1d3501f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T10:11:54.000Z",
      "commit": "60b5b1366bc22750cf609eb6c60f78ecb2b5172a",
      "fileid": "5eefa294ec43e35c28f4ed96e590f0cb728b0c666166314aa85b043ba8fc96f6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/markusloecher/actions/runs/26281593468"
    }
  ]
}