code: def test_check_params(art_warning, image_dl_estimator_for_attack):
      try:
          classifier = image_dl_estimator_for_attack(MIFace)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, max_iter=-0.5)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, window_length=-0.5)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, threshold=-0.5)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, learning_rate=-0.5)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, batch_size=-0.5)
  
          with pytest.raises(ValueError):
              _ = MIFace(classifier, verbose=-0.5)
  
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/attacks/inference/model_inversion/test_mi_face.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import pytest
  import numpy
  from art.attacks.inference.model_inversion import MIFace
  from art.estimators.estimator import BaseEstimator
  from art.estimators.classification.classifier import ClassifierMixin, ClassGradientsMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException
label_desc: Use image node_id 4 for calling a global function with example usage: test_check_params(art_warning, image_dl_estimator_for_attack) without return types