code: def test_wbic_lgt(make_weekly_data):
      train_df, test_df, coef = make_weekly_data
  
      lgt1 = LGT(
          response_col="response",
          date_col="week",
          regressor_col=list("abcdef"),
          seasonality=52,
          num_warmup=100,
          num_sample=100,
          seed=6666,
          estimator="stan-mcmc",
      )
      wbic_val1 = lgt1.fit_wbic(df=train_df)
  
      lgt2 = LGT(
          response_col="response",
          date_col="week",
          regressor_col=list("abcdef"),
          seasonality=52,
          num_steps=100,
          num_sample=100,
          seed=6666,
          estimator="pyro-svi",
      )
      wbic_val2 = lgt2.fit_wbic(df=train_df)
  
      assert np.abs(wbic_val2 - wbic_val1) / wbic_val1 <= 0.05
  
      lgt3 = LGT(
          response_col="response",
          date_col="week",
          regressor_col=list("abcdef"),
          seasonality=52,
          seed=6666,
          estimator="stan-map",
      )
      lgt3.fit(df=train_df)
      bic_val = lgt3.get_bic()
  
imports: import pytest
  import numpy
  from orbit.models import LGT, DLT, KTR, KTRLite
label_desc: Use image node_id 2 for calling a global function with example usage: test_wbic_lgt(make_weekly_data) without return types