damccorm commented on code in PR #34311: URL: https://github.com/apache/beam/pull/34311#discussion_r1998931238
########## sdks/python/apache_beam/ml/anomaly/transforms.py: ########## @@ -406,6 +414,76 @@ def expand( return ret +class RunOfflineDetector(beam.PTransform[beam.PCollection[KeyedInputT], + beam.PCollection[KeyedOutputT]]): + """Runs a offline anomaly detector on a PCollection of data. + + This PTransform applies a `OfflineDetector` to the input data, handling + custom input/output conversion and inference. + + Args: + custom_detector: The `OfflineDetector` to run. Review Comment: ```suggestion offline_detector: The `OfflineDetector` to run. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org