Define a validation acceptance rule
Usage
validation_acceptance_rule(
metric,
direction = c("max", "min", "between", "equals"),
threshold,
upper = NULL,
tolerance = 0
)
Arguments
- metric
Metric name or metric column.
- direction
Direction vector used to project multidimensional information.
- threshold
Decision or diagnostic threshold.
- upper
Optional upper threshold for interval-style acceptance rules.
- tolerance
Numerical or decision tolerance.
Value
An object of class "eye_validation_acceptance_rule", stored as a named list, with components "metric", "direction", "threshold", "upper", "tolerance". It contains define a validation acceptance rule and associated metadata or diagnostics needed to interpret the result.