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()
docstr: Gets the indexes of the anomalies.
  
  :return: the indexes of the anomalies.
code: def anomaly_indexes(self):
      """
      Gets the indexes of the anomalies.
  
      :return: the indexes of the anomalies.
      """
      if self.anomaly_indexes_ is None:
          raise RuntimeError("Please call fit first")
      return self.anomaly_indexes_
  
file_path: analytics-zoo/pyzoo/zoo/chronos/detector/anomaly/dbscan_detector.py
imports: from zoo.chronos.detector.anomaly.abstract import AnomalyDetector
  import numpy
  from sklearn.cluster import DBSCAN
label_desc: Use image node_id 5 for calling the DBScanDetector obj's underlying member method code with example usage: obj.anomaly_indexes() and returns: self