code: def test_degenerate_columns():
      x = np.random.randn(100, 2)
      x = np.concatenate(
          [np.ones([100, 1]), x, np.ones([100, 2])], axis=1
      )  # the last two columns are degenerate
      beta = np.random.rand(5) * 10
      y = x @ beta + np.random.randn(100)
      ml_model = RidgeCV().fit(x, y)
      pred_cols = ["Intercept", "x1", "x2", "x3", "x4"]
      fit_algorithm = "ridge"
      beta = ml_model.coef_
      beta[0] += ml_model.intercept_
      info_dict = get_info_dict_lm(
          x=x,
          y=y,
          beta=beta,
          ml_model=ml_model,
          fit_algorithm=fit_algorithm,
          pred_cols=pred_cols,
      )
      assert info_dict["beta_var_cov"].shape == (3, 3)
      print_summary(info_dict)
  
file_path: greykite/greykite/tests/algo/common/test_model_summary_utils.py
imports: import numpy
  import pandas
  import pytest
  from sklearn.linear_model import RidgeCV
  from greykite.algo.common.model_summary_utils import Bootstrapper
  from greykite.algo.common.model_summary_utils import format_summary_df
  from greykite.algo.common.model_summary_utils import get_info_dict_lm
  from greykite.algo.common.model_summary_utils import print_summary
  from greykite.algo.common.model_summary_utils import process_intercept
  from greykite.algo.common.model_summary_utils import round_numbers
label_desc: Use image node_id 5 for calling a global function with example usage: test_degenerate_columns() without return types