man-roxygen/arg_importance.fun.R

#' @param importance.fun [\code{function}] \cr
#' Function with signature \code{function(permuted, unpermuted)} which defines how \code{permuted} and \code{unpermuted} are aggregated to a feature importance measure.
#' The function takes the result of \code{\link{measurePerformance}} as input for \code{permuted} and \code{unpermuted}.
#' The default \code{NULL} internally uses \code{unpermuted - permuted} which refers to the drop in performance if the measure is to be maximized (i.e., if higher values of the measure refer to better performance).
giuseppec/featureImportance documentation built on June 1, 2021, 11:04 a.m.