code: def _make_centroids(space, X, n_clusters):
      return space.random_von_mises_fisher(
          kappa=10, n_samples=n_clusters
      )
  
imports: import random
  import pytest
  from geomstats.geometry.hypersphere import Hypersphere
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.learning.frechet_mean import FrechetMean
  from geomstats.learning.kmeans import RiemannianKMeans
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.learning._base import BaseEstimatorTestCase, ClusterMixinsTestCase
  from geomstats.test_cases.learning.kmeans import AgainstFrechetMeanTestCase, ClusterInitializationTestCase
  from .data.kmeans import AgainstFrechetMeanTestData, ClusterInitializationTestData, RiemannianKMeansTestData
label_desc: Use image node_id 1 for calling a global function with example usage: _make_centroids(space, X, n_clusters) and returns: space