get_pred_perf: Get performance measures of a predictive model

get_pred_perfR Documentation

Get performance measures of a predictive model

Description

Get performance measures of a predictive model

Usage

get_pred_perf(
  tab,
  vardep,
  varindep = NULL,
  type = "logistic",
  type_validation = "cv",
  R = 100,
  nCPU = 1L,
  mod = NULL,
  updateProgress = function(detail) detail = ""
)

Arguments

tab

The data.frame

vardep

The dependant variable

varindep

The independant variable, forced into the model

type

A character vector, one of "linear", "logistic" or "survival

type_validation

character "cv" or "boot": either performs bootstrap, or cross validation

R

The number of bootstrap replicates

nCPU

integer: number of processes to be used in parallel operation

Value

a list containing The mean AUC if cross validation; if bootstrap: the confidence interval and excess optimism


KZARCA/simplestats documentation built on Feb. 19, 2024, 1:11 a.m.