code: def test_score_duplicates_with_zeros(self):
      # Pairs with scores of 0s shouldn't be included
      # https://github.com/dedupeio/dedupe/issues/1072
      self.classifier.weight = -1000
      self.classifier.bias = 1000
      records = iter(
          [
              (("1", {"name": "ABCD"}), ("2", {"name": "EFGH"})),
              (("3", {"name": "IJKL"}), ("4", {"name": "IJKL"})),
          ]
      )
      dtype = [("pairs", "<U256", 2), ("score", "f4")]
      expected = numpy.array([(["3", "4"], 1)], dtype=dtype)
  
      scores = dedupe.core.scoreDuplicates(
          records, self.data_model.distances, self.classifier, 2
      )
  
      assert isinstance(scores, numpy.memmap)
      assert scores.dtype == expected.dtype
      numpy.testing.assert_equal(scores["pairs"], expected["pairs"])
      numpy.testing.assert_allclose(
          scores["score"], expected["score"], 2
      )
  
imports: import random
  import unittest
  import numpy
  import scipy.special
  import dedupe
label_desc: Use image node_id 3 for calling the ScoreDuplicates obj's underlying member method code with example usage: obj.test_score_duplicates_with_zeros() without return types