code: def test_fit_transform(setup):
      centers = np.array(
          [
              [0.0, 5.0, 0.0, 0.0, 0.0],
              [1.0, 1.0, 4.0, 0.0, 0.0],
              [1.0, 0.0, 0.0, 5.0, 1.0],
          ]
      )
      n_samples = 100
      X = make_blobs(
          n_samples=n_samples,
          centers=centers,
          cluster_std=1.0,
          random_state=42,
      )[0]
      X1 = (
          KMeans(
              n_clusters=3,
              random_state=51,
              init="k-means++",
              algorithm="elkan",
          )
          .fit(X)
          .transform(X)
      )
      X2 = KMeans(
          n_clusters=3,
          random_state=51,
          init="k-means++",
          algorithm="elkan",
      ).fit_transform(X)
      np.testing.assert_array_almost_equal(X1, X2)
  
imports: import sys
  from io import StringIO
  import numpy
  import pytest
  import scipy.sparse
  from ....None import tensor
  from ....core import TileableGraphBuilder, TileableGraph, ChunkGraphBuilder
  from ....config import options
  from ..None import KMeans, k_means
  from .._kmeans import _init_centroids
label_desc: Use image node_id 14 for calling a global function with example usage: test_fit_transform(setup) without return types