conf_matrix_df {tidysdm}R Documentation

Make a confusion matrix dataframe for multiple thresholds

Description

Create the confusion matrix for multiple thresholds, using to optimise tss

Usage

conf_matrix_df(presences, absences)

Arguments

presences

Probabilities for presences

absences

probabilities for absences

Value

A data.frame of thresholds with columns thres, tp, fp, fn, and tn


[Package tidysdm version 1.0.0 Index]