partial_cm: Compute the global confusion matrix from the FPR and TPR...

Description Usage Arguments Value

View source: R/utils.R

Description

Compute the global confusion matrix from the FPR and TPR obtained from each node

Usage

1
2
3
4
5
6
7
8
partial_cm(
  fpr,
  tpr,
  thresholds,
  negative_count,
  total_count,
  descending = FALSE
)

Arguments

fpr

list - False positive rates for each individual ROC

tpr

list - True positive rates for each individual ROC

thresholds

list - Thresholds used to compute the fpr and tpr

negative_count

list - Total number of samples corresponding to the negative case

total_count

list - Total number of samples

descending

thresholds in descending order?

Value

global confusion matrix and thresholds


ROCaggregator documentation built on Aug. 10, 2021, 5:07 p.m.