process_info_binomial: A set of process information object constructors

Description Usage Arguments Value Author(s)

View source: R/process_info.R

Description

\Sexpr[results=rd, stage=render]{lifecycle::badge("experimental")}

Classes for storing process information from prediction evaluations.

Used internally.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 June 17, 2021, 5:12 p.m.