code: def test_Regressions(self):
      diabetes = datasets.load_diabetes()
      models = ["OLS", "GLS", "WLS", "GLSAR", "QuantReg", "GLM", "RLM"]
  
      for model in models:
          klass = getattr(sm, model)
  
          estimator = base.StatsModelsRegressor(klass)
          estimator.fit(diabetes.data, diabetes.target)
          result = estimator.predict(diabetes.data)
  
          expected = (
              klass(diabetes.target, diabetes.data)
              .fit()
              .predict(diabetes.data)
          )
          self.assert_numpy_array_almost_equal(result, expected)
  
file_path: pandas-ml/pandas_ml/smaccessors/test/test_base.py
imports: import pytest
  import numpy
  import sklearn.datasets
  import statsmodels.api
  import pandas_ml.smaccessors.base
  import pandas_ml.util.testing
label_desc: Use image node_id 4 for calling the TestBaseRegressor obj's underlying member method code with example usage: obj.test_Regressions() without return types