code: def test_single_distributed_exact_results(client):
      X, y = load_text_corpus(client)
  
      sgX, sgy = (X.compute(), y.compute())
  
      model = MultinomialNB()
      model.fit(X, y)
  
      sg_model = SGNB()
      sg_model.fit(sgX, sgy)
  
      y_hat = model.predict(X)
      sg_y_hat = sg_model.predict(sgX).get()
  
      y_hat = y_hat.compute().get()
  
      assert accuracy_score(y_hat, sg_y_hat) == 1.0
  
file_path: cuml/python/cuml/tests/dask/test_dask_naive_bayes.py
imports: from sklearn.metrics import accuracy_score
  from cuml.testing.dask.utils import load_text_corpus
  from cuml.naive_bayes.naive_bayes import MultinomialNB
  from cuml.dask.naive_bayes import MultinomialNB
  import pytest
  import dask.array
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 2 for calling a global function with example usage: test_single_distributed_exact_results(client) without return types