code: def test_potential_function_batch():
      dists = np.tile([1.0, 0.5, 2, 0.33], (10, 1))
      value = BaseProbabilistic.potential_func(dists)
      expected = np.tile([0.3679, 0.7788, 0.0183, 0.8968], (10, 1))
      assert np.allclose(value, expected, atol=0.001)
  
imports: import numpy
  import pytest
  from sklearn.linear_model import Perceptron
  from sklearn.utils.estimator_checks import check_estimator
  from deslib.des.probabilistic import BaseProbabilistic, Logarithmic, Exponential, RRC, DESKL, MinimumDifference
label_desc: Use image node_id 13 for calling a global function with example usage: test_potential_function_batch() without return types