docstr: Test passing a custom algorithm class
docstr_tok: ["Test","passing","a","custom","algorithm","class"]
code: def test_custom_algorithm(self):
      """
      Test passing a custom algorithm class
      """
      detector = AnomalyDetector(
          self.s1,
          baseline_time_series=self.s2,
          algorithm_class=CustomAlgo,
          algorithm_params={
              "percent_threshold_upper": 20,
              "percent_threshold_lower": -20,
          },
      )
      anomalies = detector.get_anomalies()
      self.assertTrue(anomalies is not None)
      self.assertTrue(len(anomalies) > 0)
  
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 2 for calling the TestAnomalyDetector obj's underlying member method code with example usage: obj.test_custom_algorithm() without return types