code: def test_binary_crossentropy(self):
      predicted = asfloat(np.array([0.1, 0.9, 0.2, 0.5]))
      actual = asfloat(np.array([0, 1, 0, 1]))
  
      error = objectives.binary_crossentropy(actual, predicted)
      self.assertAlmostEqual(0.28, self.eval(error), places=2)
  
file_path: neupy/tests/algorithms/gd/test_objectives.py
imports: import numpy
  from neupy.utils import asfloat
  from neupy.algorithms.gd import objectives
  from base import BaseTestCase
label_desc: Use image node_id 2 for calling the ErrorFuncTestCase obj's underlying member method code with example usage: obj.test_binary_crossentropy() without return types