Learn R Programming

cvms (version 1.7.0)

process_info_binomial: A set of process information object constructors

Description

lifecycle::badge("experimental")

Classes for storing process information from prediction evaluations.

Used internally.

Usage

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, ...)

Value

List with relevant information.

Arguments

data

Data frame.

target_col

Name of target column.

prediction_cols

Names of prediction columns.

id_col

Name of ID column.

cat_levels

Categorical levels (classes).

positive

Name of the positive class.

cutoff

The cutoff used to get class predictions from probabilities.

locale

The locale when performing the evaluation. Relevant when any sorting has been performed.

x

a process info object used to select a method.

...

further arguments passed to or from other methods.

pred_class_col

Name of predicted classes column.

apply_softmax

Whether softmax has been applied.

Author

Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk