code: def test_spectral_embedding_parameters(metric, eps, get_mats):
      """Test SpectralEmbedding."""
      n_matrices, n_channels, n_comp = 6, 3, 2
      covmats = get_mats(n_matrices, n_channels, "spd")
      embd = SpectralEmbedding(
          metric=metric, n_components=n_comp, eps=eps
      )
      covembd = embd.fit_transform(covmats)
      assert covembd.shape == (n_matrices, n_comp)
  
imports: from conftest import get_metrics
  import numpy
  from sklearn.neighbors import NearestCentroid
  from pyriemann.datasets import make_gaussian_blobs
  from pyriemann.embedding import SpectralEmbedding, LocallyLinearEmbedding, barycenter_weights, locally_linear_embedding
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_spectral_embedding_parameters(metric, eps, get_mats) without return types