code: def test_AnomalyDetector__defaults_init():
      ad = AnomalyDetector("label", some_kwarg="value")
  
      assert len(ad.detector_list) == 7
      assert len(ad._suod_kwargs["base_estimators"]) == 7
      ad._suod_kwargs.pop("base_estimators")
  
      assert ad._suod_kwargs["n_jobs"] > 0
      ad._suod_kwargs.pop("n_jobs")
      assert ad._suod_kwargs == {
          "bps_flag": False,
          "combination": "average",
          "some_kwarg": "value",
          "verbose": False,
      }
  
      assert ad._detectors is None
      assert ad.original_features is None
      assert ad.problem_type == "regression"
  
file_path: autogluon/eda/tests/unittests/analysis/test_anomaly.py
imports: from unittest.mock import MagicMock
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from pyod.models.lof import LOF
  from autogluon.eda import AnalysisState
  from autogluon.eda.analysis import AnomalyDetector, AnomalyDetectorAnalysis
label_desc: Use image node_id 3 for calling a global function with example usage: test_AnomalyDetector__defaults_init() without return types