detect
Description
detectionResults = detect(detector,data)data using the trained anomaly
        detector detector and the subsequence length specified in the property
          detector.DetectionWindowLength. By default, the subsequences do not
        overlap.
        detect calculates the anomaly scores, labels anomalies using the
        threshold value in the property detector.Threshold, and returns these
        labels and scores, as well as the window start indices, in
          detectionResults. A label of 1 indicates an
        anomaly and a label of 0 indicates no anomaly.
For an example of using detect as part of the detector development
        workflow, see Train and Test TCN Anomaly Detector.
detectionResults = detect(___,Name=Value)Name=Value arguments. These
        options include execution-related specifications and the plotting of a histogram.
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2025a