code: def test_log_loss_shape(yhat):
      y = da.from_array(np.array([0, 0, 1, 1]), chunks=2)
      labels = [0, 1]
      a = sklearn.metrics.log_loss(y, yhat)
      b = dask_ml.metrics.log_loss(y, yhat, labels=labels)
      assert_eq(a, b)
  
file_path: dask-ml/tests/metrics/test_metrics.py
imports: import dask
  import dask.array
  import numpy
  import numpy.testing
  import pytest
  import sklearn
  import sklearn.linear_model
  import sklearn.metrics
  from dask.array.utils import assert_eq
  import dask_ml.metrics
  import dask_ml.wrappers
label_desc: Use image node_id 7 for calling a global function with example usage: test_log_loss_shape(yhat) without return types