interval {theftdlc} | R Documentation |
Calculate interval summaries with a measure of central tendency of classification results
Description
Calculate interval summaries with a measure of central tendency of classification results
Usage
interval(
data,
metric = c("accuracy", "precision", "recall", "f1"),
by_set = TRUE,
type = c("sd", "qt", "quantile"),
interval = NULL,
model_type = c("main", "null")
)
calculate_interval(
data,
metric = c("accuracy", "precision", "recall", "f1"),
by_set = TRUE,
type = c("sd", "qt", "quantile"),
interval = NULL,
model_type = c("main", "null")
)
Arguments
data |
|
metric |
|
by_set |
|
type |
|
interval |
|
model_type |
|
Value
data.frame
containing the results
Author(s)
Trent Henderson
Examples
library(theft)
features <- theft::calculate_features(theft::simData,
group_var = "process",
feature_set = NULL,
features = list("mean" = mean, "sd" = sd))
classifiers <- classify(features,
by_set = FALSE,
n_resamples = 3)
interval(classifiers,
by_set = FALSE,
type = "sd",
interval = 1)