1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getFeatureImportance.R
\name{getFeatureImportanceLearner}
\alias{getFeatureImportanceLearner}
\title{Calculates feature importance values for a given learner.}
\usage{
getFeatureImportanceLearner(.learner, .model, ...)
}
\arguments{
\item{.learner}{(\link{Learner} | \code{character(1)})\cr
The learner.}
\item{.model}{(\link{WrappedModel})\cr
The model.}
\item{...}{(any)\cr
Additional parameters, which are passed to the underlying importance value
generating function.}
}
\value{
(\link{numeric}) A named vector of variable importance.
}
\description{
This function is mostly for internal usage. To calculate feature importance use \link{getFeatureImportance}.
The return value is a named numeric vector. There does not need to be one value for each feature in the dataset.
In \link{getFeatureImportance} missing features will get an importance of zero and if the vector contains \code{NA}
they will also be replaced with zero.
}
\keyword{internal}
|