code: def test_beta_constraints_gaussian():
      h2o_data = h2o.import_file(
          pyunit_utils.locate(
              "smalldata/glm_test/gaussian_20cols_10000Rows.csv"
          )
      )
      h2o_data["C1"] = h2o_data["C1"].asfactor()
      h2o_data["C2"] = h2o_data["C2"].asfactor()
      h2o_data["C3"] = h2o_data["C3"].asfactor()
      h2o_data["C4"] = h2o_data["C4"].asfactor()
      h2o_data["C5"] = h2o_data["C5"].asfactor()
      h2o_data["C6"] = h2o_data["C6"].asfactor()
      h2o_data["C7"] = h2o_data["C7"].asfactor()
      h2o_data["C8"] = h2o_data["C8"].asfactor()
      h2o_data["C9"] = h2o_data["C9"].asfactor()
      h2o_data["C10"] = h2o_data["C10"].asfactor()
      y = "C21"
      x = h2o_data.names
      x.remove(y)
      nfolds = 4
      seed = 12345
  
      printText = "running model with beta constrains on C1, C2, C3, C11, C12, C13"
      constraints = h2o.H2OFrame(
          {
              "names": ["C1.1", "C2.0", "C3.0", "C11", "C12", "C13"],
              "lower_bounds": [
                  0.3696965402743819 * 0.1,
                  3.8273867830358252 * 0.1,
                  2.2831399185698835 * 0.1,
                  10.20086488314071 * 0.1,
                  2.9111423805443195 * 0.1,
                  20.130364463336967 * 0.1,
              ],
              "upper_bounds": [
                  0.3696965402743819 * 0.8,
                  3.8273867830358252 * 0.8,
                  2.2831399185698835 * 0.8,
                  10.20086488314071 * 0.8,
                  2.9111423805443195 * 0.8,
                  20.130364463336967 * 0.8,
              ],
          }
      )
      constraints = constraints[
          ["names", "lower_bounds", "upper_bounds"]
      ]
      run_print_model_performance(
          "gaussian",
          h2o_data,
          nfolds,
          constraints,
          x,
          y,
          printText,
          seed,
          "coordinate_descent",
      )
  
imports: from builtins import range
  import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.glm import H2OGeneralizedLinearEstimator
label_desc: Use image node_id 1 for calling a global function with example usage: test_beta_constraints_gaussian() without return types