docstr: Tests support for counts below 1.
  
  Certain weights cause TP, FP, TN, FN counts to be below 1.
docstr_tok: ["Tests","support","for","counts","below","1",".","Certain","weights","cause","TP",",","FP",",","TN",",","FN","counts","to","be","below","1","."]
code: def test_counts_below_1(self):
      """Tests support for counts below 1.
  
      Certain weights cause TP, FP, TN, FN counts to be below 1.
      """
      pb = self.compute_and_check_summary_pb(
          name="foo",
          labels=np.array([True, False, False, True, True, True]),
          predictions=np.float32([0.2, 0.3, 0.4, 0.6, 0.7, 0.8]),
          num_thresholds=3,
          weights=np.float32([0.0, 0.1, 0.2, 0.1, 0.1, 0.0]),
      )
      expected = [
          [0.2, 0.2, 0.0],
          [0.3, 0.0, 0.0],
          [0.0, 0.3, 0.3],
          [0.0, 0.0, 0.2],
          [0.4, 1.0, 0.0],
          [1.0, 1.0, 0.0],
      ]
      values = tensor_util.make_ndarray(pb.value[0].tensor)
      self.verify_float_arrays_are_equal(expected, values)
  
imports: import numpy
  import tensorflow
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.pr_curve import metadata
  from tensorboard.plugins.pr_curve import summary
  from tensorboard.util import tensor_util
  from tensorboard.util import test_util
label_desc: Use image node_id 14 for calling the PrCurveTest obj's underlying member method code with example usage: obj.test_counts_below_1() without return types