lifecycle::badge("experimental")
Classes for storing process information from prediction evaluations.
Used internally.
process_info_binomial(
data,
target_col,
prediction_cols,
id_col,
cat_levels,
positive,
cutoff,
locale = NULL
)# S3 method for process_info_binomial
print(x, ...)
# S3 method for process_info_binomial
as.character(x, ...)
process_info_multinomial(
data,
target_col,
prediction_cols,
pred_class_col,
id_col,
cat_levels,
apply_softmax,
locale = NULL
)
# S3 method for process_info_multinomial
print(x, ...)
# S3 method for process_info_multinomial
as.character(x, ...)
process_info_gaussian(data, target_col, prediction_cols, id_col, locale = NULL)
# S3 method for process_info_gaussian
print(x, ...)
# S3 method for process_info_gaussian
as.character(x, ...)
List with relevant information.
Data frame.
Name of target column.
Names of prediction columns.
Name of ID column.
Categorical levels (classes).
Name of the positive class.
The cutoff used to get class predictions from probabilities.
The locale when performing the evaluation. Relevant when any sorting has been performed.
a process info object used to select a method.
further arguments passed to or from other methods.
Name of predicted classes column.
Whether softmax has been applied.
Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk