Stratify Values by Thresholds

Function Description

Classifies input values according to set threshold ranges and classification labels, and outputs the classification label corresponding to each value.

StratifyValuesByThresholds

Use Cases

Typically used together with the “Determine if Required Labels” step to filter number lists by value intervals. If you need to divide a number list into two parts by one threshold and filter out one part, please use the “Classify Numbers by Threshold” step together with the “Filter” step.

Inputs

  • Numbers: Number list to be classified.

Outputs

  • Labels: Classified label list.

Parameters

  • Threshold File Name: File storing classification thresholds, can contain multiple thresholds.

  • Label File Name: File storing classification labels, can contain multiple labels.