getImpRf.Rd 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/importance.R
  3. \name{getImpRf}
  4. \alias{getImpRf}
  5. \alias{getImpRfZ}
  6. \alias{getImpRfGini}
  7. \alias{getImpRfRaw}
  8. \title{ranger Random Forest importance adapters}
  9. \usage{
  10. getImpRfZ(x, y, ntree = 500, num.trees = ntree, ...)
  11. getImpRfGini(x, y, ntree = 500, num.trees = ntree, ...)
  12. getImpRfRaw(x, y, ntree = 500, num.trees = ntree, ...)
  13. }
  14. \arguments{
  15. \item{x}{data frame of predictors including shadows.}
  16. \item{y}{response vector.}
  17. \item{ntree}{Number of trees in the forest; copied into \code{\link{ranger}}'s native num.trees, put to retain transparent compatibility with randomForest.}
  18. \item{num.trees}{Number of trees in the forest, as according to \code{\link{ranger}}'s nomenclature. If not given, set to \code{ntree} value. If both are given, \code{num.trees} takes precedence.}
  19. \item{...}{parameters passed to the underlying \code{\link{ranger}} call; they are relayed from \code{...} of \code{\link{Boruta}}.}
  20. }
  21. \description{
  22. Those function is intended to be given to a \code{getImp} argument of \code{\link{Boruta}} function to be called by the Boruta algorithm as an importance source.
  23. \code{getImpRfZ} generates default, normalized permutation importance, \code{getImpRfRaw} raw permutation importance, finally \code{getImpRfGini} generates Gini index importance.
  24. }
  25. \note{
  26. Prior to Boruta 5.0, \code{getImpLegacyRfZ} function was a default importance source in Boruta; see \link{getImpLegacyRf} for more details.
  27. }