man-roxygen/arg_predictthreshold.R

#' @param predict.threshold [\code{numeric}]\cr
#'   Threshold to produce class labels. Has to be a named vector, where names correspond to class labels.
#'   Only for binary classification it can be a single numerical threshold for the positive class.
#'   See \code{\link{setThreshold}} for details on how it is applied.
#'   Default is \code{NULL} which means 0.5 / an equal threshold for each class.
Najah-lshanableh/R-data-mining2 documentation built on May 6, 2019, 10:11 a.m.