code: def test_check_params(art_warning, get_iris_dataset):
      try:
          (x_train, y_train), (_, _) = get_iris_dataset
  
          with pytest.raises(ValueError):
              AttributeInferenceBaseline(attack_feature="a")
  
          with pytest.raises(ValueError):
              AttributeInferenceBaseline(attack_feature=-3)
  
          with pytest.raises(ValueError):
              AttributeInferenceBaseline(non_numerical_features=["a"])
  
          with pytest.raises(ValueError):
              AttributeInferenceBaseline(encoder="a")
  
          with pytest.raises(ValueError):
              AttributeInferenceBaseline(is_continuous="a")
  
          attack = AttributeInferenceBaseline(attack_feature=8)
  
          with pytest.raises(ValueError):
              attack.fit(x_train)
  
          _ = AttributeInferenceBaseline()
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/inference/attribute_inference/test_baseline.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from sklearn.compose import ColumnTransformer
  from sklearn.preprocessing import OrdinalEncoder
  from art.attacks.inference.attribute_inference.baseline import AttributeInferenceBaseline
  from art.utils import check_and_transform_label_format
  from tests.utils import ARTTestException
label_desc: Use image node_id 10 for calling a global function with example usage: test_check_params(art_warning, get_iris_dataset) without return types