predictor.py 545 B

12345678910111213141516171819
  1. # !/usr/bin/env python3
  2. # -*- coding: UTF-8 -*-
  3. ################################################################################
  4. #
  5. # Copyright (c) 2024 Baidu.com, Inc. All Rights Reserved
  6. #
  7. ################################################################################
  8. """
  9. Author: PaddlePaddle Authors
  10. """
  11. from ..ts_forecast import TSFCPredictor
  12. from .model_list import MODELS
  13. from ...utils.errors import raise_unsupported_api_error
  14. class TSCLSPredictor(TSFCPredictor):
  15. """ TS Anomaly Detection Model Predictor """
  16. entities = MODELS