code: def test_hyperparameters__invalid_option():
      with pytest.raises(
          ValueError,
          match=r"hyperparameters must be either str: .* or dict with keys of .*",
      ):
          ConfigBuilder().hyperparameters(42).build()
  
      with pytest.raises(
          AssertionError,
          match=r"unknown is not one of the valid presets .*",
      ):
          ConfigBuilder().hyperparameters("unknown").build()
  
      with pytest.raises(
          AssertionError,
          match=r"The following model types are not recognized: .'unknown'. - use one of the valid models: .*",
      ):
          ConfigBuilder().hyperparameters({"unknown": []}).build()
  
imports: import numpy
  import pytest
  from sklearn.feature_extraction.text import CountVectorizer
  from autogluon.features import TextNgramFeatureGenerator
  from autogluon.tabular.configs.config_helper import ConfigBuilder, FeatureGeneratorBuilder
  from autogluon.tabular.models import KNNModel
label_desc: Use image node_id 11 for calling a global function with example usage: test_hyperparameters__invalid_option() without return types