code: def test_spectralbiclustering_parameter_validation(
      params, type_err, err_msg
  ):
      """Check parameters validation in `SpectralBiClustering`"""
      data = np.arange(25).reshape((5, 5))
      model = SpectralBiclustering(**params)
      with pytest.raises(type_err, match=err_msg):
          model.fit(data)
  
imports: import numpy
  import pytest
  from scipy.sparse import issparse
  from sklearn.base import BaseEstimator, BiclusterMixin
  from sklearn.cluster import SpectralBiclustering, SpectralCoclustering
  from sklearn.cluster._bicluster import _bistochastic_normalize, _log_normalize, _scale_normalize
  from sklearn.datasets import make_biclusters, make_checkerboard
  from sklearn.metrics import consensus_score, v_measure_score
  from sklearn.model_selection import ParameterGrid
  from sklearn.utils._testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from sklearn.utils.fixes import CSR_CONTAINERS
label_desc: Use image node_id 13 for calling a global function with example usage: test_spectralbiclustering_parameter_validation(params, type_err, err_msg) without return types