code: def test_compute_single_label_probs(self, weak_labels):
      mj = MajorityVoter(weak_labels)
      probs = mj._compute_single_label_probs(weak_labels.matrix())
  
      expected = np.array(
          [
              [0.5, 0.5, 0.0],
              [0.5, 0, 0.5],
              [1.0 / 3, 1.0 / 3, 1.0 / 3],
              [1.0 / 3, 0.0, 2.0 / 3],
          ]
      )
      assert np.allclose(probs, expected)
  
imports: import sys
  import numpy
  import pytest
  from argilla.client.models import TextClassificationRecord
  from argilla.labeling.text_classification import FlyingSquid, Snorkel, WeakLabels, WeakMultiLabels
  from argilla.labeling.text_classification.label_models import LabelModel, MajorityVoter, MissingAnnotationError, NotFittedError, TieBreakPolicy, TooFewRulesError
label_desc: Use image node_id 3 for calling the TestMajorityVoter obj's underlying member method code with example usage: obj.test_compute_single_label_probs(weak_labels) without return types