Learn R Programming

Laurae (version 0.0.0.9001)

plotting.max_f1: Maximum F1 Score (Precision with Sensitivity harmonic mean) plotting

Description

This function allows to use a custom thresholding method to maximize the F1 Score (Precision with Sensitivity harmonic mean). A data.table of values is returned.

Usage

plotting.max_f1(preds, labels, plots = TRUE, ...)

Arguments

preds
Type: numeric. The predictions.
labels
Type: numeric. The labels (0, 1).
plots
Type: numeric. Whether to plot the data immediately or not.
...
Other arguments to pass to plot.

Value

A data.table containing the probabilities and their F1 Score (Precision with Sensitivity harmonic mean).