code: def test_gam_null_predictors():
      print("Checking null predictor run for binomial")
      h2o_data = h2o.import_file(
          pyunit_utils.locate("smalldata/gam_test/gamBinomial1Col.csv")
      )
      buildModelMetricsCheck(h2o_data, "binomial", [0])
      buildModelMetricsCheck(h2o_data, "binomial", [1])
      buildModelMetricsCheck(h2o_data, "binomial", [2])
      buildModelMetricsCheck(h2o_data, "binomial", [3])
  
      print("Checking null predictor for gaussian")
      h2o_data = h2o.import_file(
          path=pyunit_utils.locate(
              "smalldata/gam_test/gamGaussian1Col.csv"
          )
      )
      buildModelMetricsCheck(h2o_data, "gaussian", [0])
      buildModelMetricsCheck(h2o_data, "gaussian", [1])
      buildModelMetricsCheck(h2o_data, "gaussian", [2])
      buildModelMetricsCheck(h2o_data, "gaussian", [3])
  
      print("gam modelmetrics test completed successfully")
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gam import H2OGeneralizedAdditiveEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: test_gam_null_predictors() without return types