code: def create_data(self):
      cycles = 5
      time = np.arange(0, cycles * np.pi, 0.2)
      data = np.sin(time)
      data[3] += 10
      data[5] -= 2
      data[10] += 5
      data[17] -= 3
      return data
  
file_path: BigDL/python/chronos/test/bigdl/chronos/detector/anomaly/test_dbscan_detector.py
imports: import pytest
  import numpy
  from unittest import TestCase
  from bigdl.chronos.detector.anomaly.dbscan_detector import DBScanDetector
  from ...None import op_torch, op_tf2
label_desc: Use image node_id 3 for calling the TestDBScanDetector obj's underlying member method code with example usage: obj.create_data() and returns: data