code: def category_feature(**kwargs):
      encoder = kwargs.get("encoder", {})
      encoder = {**{"type": "passthrough"}, **encoder}
      kwargs["encoder"] = encoder
      return _category_feature(**kwargs)
  
imports: import os
  import numpy
  import pytest
  from ludwig.api import LudwigModel
  from ludwig.constants import INPUT_FEATURES, MODEL_TYPE, OUTPUT_FEATURES, TRAINER
  from ludwig.error import ConfigValidationError
  from ludwig.schema.model_types.base import ModelConfig
  from tests.integration_tests import synthetic_test_data
  from tests.integration_tests.utils import binary_feature
  from tests.integration_tests.utils import category_feature
  from tests.integration_tests.utils import generate_data, number_feature, text_feature
label_desc: Use image node_id 3 for calling a global function with example usage: category_feature() and returns: _category_feature