analyze_benchmark: Analyze benchmark

Description Usage Arguments Details Value

Description

Evaluate the performance of multiple machine learning models.

Usage

1
analyze_benchmark(in_bm, in_measure, inp_resdir = NULL)

Arguments

in_bm

BenchmarkResult or file name of one stored on disk.

in_measure

MeasureClassif or MeasureRegr to use in model comparison

inp_resid

(character) path to results directory where in_bm is stored

Details

this function is useful to optimize the flow intermittence probability threshold above which to classify reaches as non-perennial (based on a specific performance measure of interest).

Value

list containing: *a ggplot showing sensitivity, specificity, misclassification for different probability thresholds *a ggplot boxplot showing the difference in performance measure between models *a data.table with, for each model, the probability threshold value at which the performance measure is maximized (and the corresponding performance measure value).


NaiaraLopezRojo/globalIRmap documentation built on Dec. 17, 2021, 5:19 a.m.