code: def test_predict_proba():
      lr = LogisticRegression(
          epochs=100, eta=0.01, minibatches=1, random_seed=1
      )
  
      lr.fit(X, y)
      idx = [0, 48, 99]  # sample labels: 0, 0, 1
      y_pred = lr.predict_proba(X[idx])
      expect = np.array([0.009, 0.012, 0.993])
      np.testing.assert_almost_equal(y_pred, expect, 3)
  
imports: import sys
  import numpy
  from sklearn.base import clone
  from mlxtend.classifier import LogisticRegression
  from mlxtend.data import iris_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 9 for calling a global function with example usage: test_predict_proba() without return types