code: def test_create_pred_category():
      pred_cols = [
          "Intercept",
          "ct1",
          "sin1_toy_yearly",
          "y_lag7",
          "ct1:sin1_toy_yearly",
          "C(Q('events_Chinese New Year'), levels=['', 'event'])[T.event]",
          "x",
      ]
      extra_pred_cols = ["x"]
      pred_category = create_pred_category(
          pred_cols, extra_pred_cols, df_cols=["ts", "y", "x"]
      )
      expected_pred_category = {
          "intercept": ["Intercept"],
          "time_features": ["ct1", "ct1:sin1_toy_yearly"],
          "event_features": [
              "C(Q('events_Chinese New Year'), levels=['', 'event'])[T.event]"
          ],
          "trend_features": ["ct1", "ct1:sin1_toy_yearly"],
          "seasonality_features": [
              "sin1_toy_yearly",
              "ct1:sin1_toy_yearly",
          ],
          "lag_features": ["y_lag7"],
          "regressor_features": ["x"],
          "interaction_features": ["ct1:sin1_toy_yearly"],
      }
      assert pred_category == expected_pred_category
  
file_path: greykite/greykite/tests/algo/common/test_col_name_utils.py
imports: import pandas
  from greykite.algo.common.col_name_utils import add_category_cols
  from greykite.algo.common.col_name_utils import create_pred_category
  from greykite.algo.common.col_name_utils import filter_coef_summary
  from greykite.algo.common.col_name_utils import simplify_changepoints
  from greykite.algo.common.col_name_utils import simplify_event
  from greykite.algo.common.col_name_utils import simplify_name
  from greykite.algo.common.col_name_utils import simplify_pred_cols
  from greykite.algo.common.col_name_utils import simplify_time_features
label_desc: Use image node_id 7 for calling a global function with example usage: test_create_pred_category() without return types