code: def test_clustered_subset_separation():
      """[Base] SubsetIndex: test the array shape on generation."""
      classes = cl_2.predict(X)
      for partition in ClusteredSubsetIndex(cl_2, 2, 2, X=X).partition(
          as_array=True
      ):
          pc = np.unique(classes[partition])
          assert len(pc) == 1
  
imports: import os
  import subprocess
  import numpy
  from mlens import config
  from mlens.utils import IdTrain
  from mlens.index import FoldIndex, BlendIndex, SubsetIndex, TemporalIndex, ClusteredSubsetIndex, FullIndex
  from mlens.index.base import partition, prune_train
label_desc: Use image node_id 38 for calling a global function with example usage: test_clustered_subset_separation() without return types