class_docstr: Provides common code for text vectorizers (tokenization logic).
class_docstr_tok: ["Provides","common","code","for","text","vectorizers","(","tokenization","logic",")","."]
code: def _check_sklearn_params(self, analyzer, sklearn_params):
      if callable(analyzer):
          raise ValueError(
              "cuML does not support callable analyzer,"
              " please refer to the cuML documentation for"
              " more information."
          )
  
      for key, vals in sklearn_params.items():
          if vals is not None:
              raise TypeError(
                  "The Scikit-learn variable",
                  key,
                  " is not supported in cuML,"
                  " please read the cuML documentation for"
                  " more information.",
              )
  
imports: from cuml.internals.safe_imports import cpu_only_import
  import cuml.internals.logger
  from cudf.utils.dtypes import min_signed_type
  from cuml.internals.type_utils import CUPY_SPARSE_DTYPES
  import numbers
  from cuml.internals.safe_imports import gpu_only_import
  from functools import partial
  from cuml.common.sparsefuncs import create_csr_matrix_from_count_df
  from cuml.common.sparsefuncs import csr_row_normalize_l1, csr_row_normalize_l2
  from cuml.feature_extraction._stop_words import ENGLISH_STOP_WORDS
  from cuml.common.exceptions import NotFittedError
  from cuml.internals.safe_imports import gpu_only_import_from
label_desc: Use image node_id 10 for calling the _VectorizerMixin obj's underlying member method code with example usage: obj._check_sklearn_params(analyzer, sklearn_params) without return types