code: def test_evaluate_defense(self):
      real_clean = np.array(
          [
              1 if i < NB_TRAIN else 0
              for i in range(NB_TRAIN + NB_POISON)
          ]
      )
      self.defence_no_cal.detect_poison()
      self.defense_cal.detect_poison()
      logger.info(self.defense_cal.evaluate_defence(real_clean))
      logger.info(self.defence_no_cal.evaluate_defence(real_clean))
  
file_path: adversarial-robustness-toolbox/tests/defences/detector/poison/test_roni.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from sklearn.svm import SVC
  from art.attacks.poisoning.poisoning_attack_svm import PoisoningAttackSVM
  from art.estimators.classification.scikitlearn import SklearnClassifier, ScikitlearnSVC
  from art.defences.detector.poison.roni import RONIDefense
  from art.utils import load_mnist
  from tests.utils import master_seed
label_desc: Use image node_id 6 for calling the TestRONI obj's underlying member method code with example usage: obj.test_evaluate_defense() without return types