process_info_binomial: A set of process information object constructors

View source: R/process_info.R

process_info_binomialR Documentation

A set of process information object constructors

Description

\Sexpr[results=rd, stage=render]{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 class 'process_info_binomial'
print(x, ...)

## S3 method for class '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 class 'process_info_multinomial'
print(x, ...)

## S3 method for class 'process_info_multinomial'
as.character(x, ...)

process_info_gaussian(data, target_col, prediction_cols, id_col, locale = NULL)

## S3 method for class 'process_info_gaussian'
print(x, ...)

## S3 method for class 'process_info_gaussian'
as.character(x, ...)

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.

Value

List with relevant information.

Author(s)

Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk


cvms documentation built on Sept. 11, 2024, 6:22 p.m.