class_docstr: This is only used to test _get_soft_predictions.
class_docstr_tok: ["This","is","only","used","to","test","_get_soft_predictions","."]
code: def predict_proba(self, X):
      return np.array(
          [
              [0.2, 0.6],
              [0.8, 0.4],
              [0.3, 0.7],
          ]
      )
  
file_path: fairlearn/test/unit/utils/test_common.py
imports: import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal
  from sklearn.base import BaseEstimator, ClassifierMixin
  from fairlearn.utils._common import _get_soft_predictions
label_desc: Use image node_id 3 for calling the DummyClassifier obj's underlying member method code with example usage: obj.predict_proba(X) and returns: np