code: def test_init_encoder():
      """Test init method of Categorical_encoder class."""
      encoder = Categorical_encoder()
      assert encoder.strategy == "label_encoding"
      assert not (encoder.verbose)
      assert encoder._Categorical_encoder__Lcat == []
      assert encoder._Categorical_encoder__Lnum == []
      assert encoder._Categorical_encoder__Enc == dict()
      assert encoder._Categorical_encoder__K == dict()
      assert not encoder._Categorical_encoder__weights
      assert not encoder._Categorical_encoder__fitOK
  
file_path: MLBox/tests/test_categorical_encoder.py
imports: import pytest
  import pandas
  from mlbox.encoding.categorical_encoder import Categorical_encoder
label_desc: Use image node_id 1 for calling a global function with example usage: test_init_encoder() without return types