class_docstr: Example:
      >>> #The dataset to detect is y
      >>> y = numpy.array(...)
      >>> ad = DBScanDetector(eps=0.1, min_samples=6)
      >>> ad.fit(y)
      >>> anomaly_scores = ad.score()
      >>> anomaly_indexes = ad.anomaly_indexes()
code: def check_data(self, arr):
      if len(arr.shape) > 1:
          from bigdl.nano.utils.common import invalidInputError
  
          invalidInputError(
              False, "Only univariate time series is supported"
          )
  
file_path: BigDL/python/chronos/src/bigdl/chronos/detector/anomaly/dbscan_detector.py
imports: from bigdl.chronos.detector.anomaly.abstract import AnomalyDetector
  from bigdl.chronos.detector.anomaly.util import INTEL_EXT_DBSCAN
  import numpy
label_desc: Use image node_id 2 for calling the DBScanDetector obj's underlying member method code with example usage: obj.check_data(arr) without return types