getBestThresholds: Grab best thresholds per feature from ROC curve

View source: R/evaluate.R

getBestThresholdsR Documentation

Grab best thresholds per feature from ROC curve

Description

Grab best thresholds per feature from ROC curve

Usage

getBestThresholds(
  sample_data,
  perform_NBC_output,
  train_NBC_output,
  featureAUCsRanked,
  idx1,
  idx2
)

Arguments

sample_data

character matrix: column 1 = sample names; column 2 = class labels (e.g. "asthmatic" and "healthy")

perform_NBC_output

entire output from perform_NBC

train_NBC_output

entire output from train_NBC

featureAUCsRanked

vector of AUCs in rank order

idx1

starting rank for resulting list

idx2

ending rank for resulting list


naomiwilson/gnominator documentation built on Feb. 27, 2023, 9:39 p.m.