Learn R Programming

daltoolbox (version 1.3.787)

pat_confidence_threshold: Pattern confidence threshold strategy

Description

Configure how a minimum confidence threshold is estimated during fit().

Usage

pat_confidence_threshold(
  method = c("rhs_baseline", "support_adaptive", "fixed"),
  value = 0.8,
  margin = 0.1,
  scale = 1,
  min = 0.5,
  max = 0.95
)

Value

A pat_confidence_threshold object.

Arguments

method

Strategy name: "fixed", "rhs_baseline", or "support_adaptive".

value

Fixed confidence used by "fixed".

margin

Added to the RHS baseline confidence for "rhs_baseline".

scale

Multiplicative factor used by "support_adaptive".

min

Minimum allowed confidence.

max

Maximum allowed confidence.

Examples

Run this code
pat_confidence_threshold("rhs_baseline", margin = 0.1, min = 0.5)
pat_confidence_threshold("support_adaptive", min = 0.6, max = 0.9)

Run the code above in your browser using DataLab