docstr: Test if score_percentile_threshold works as expected.
docstr_tok: ["Test","if","score_percentile_threshold","works","as","expected","."]
code: def test_anomaly_threshold(self):
      """
      Test if score_percentile_threshold works as expected.
      """
      detector = AnomalyDetector(
          self.s1,
          score_percent_threshold=0.1,
          algorithm_name="exp_avg_detector",
      )
      detector1 = AnomalyDetector(
          self.s1,
          score_percent_threshold=0.1,
          algorithm_name="derivative_detector",
      )
      self.assertNotEqual(
          detector1.get_anomalies(), detector.get_anomalies()
      )
  
imports: import os
  import sys
  import unittest
  from luminol import exceptions
  from luminol.anomaly_detector import AnomalyDetector
  from luminol.modules.time_series import TimeSeries
  from luminol.algorithms.anomaly_detector_algorithms import AnomalyDetectorAlgorithm
label_desc: Use image node_id 15 for calling the TestAnomalyDetector obj's underlying member method code with example usage: obj.test_anomaly_threshold() without return types