code: def test_param_and_alias_are_not_same(data, x_names, y):
      assert H2OXGBoostEstimator.available() is True
  
      num_round = 5
      params = {
          "tree_method": "hist",
          "ntrees": num_round,
          "backend": "cpu",
          "save_matrix_directory": "/home/mori/Documents/h2o/code/test/xgboost_data/",
          "seed": 42,
          "colsample_bylevel": 0.9,
          "col_sample_rate": 0.3,
      }
  
      # train h2o XGBoost models
      h2o_model = H2OXGBoostEstimator(**params)
      try:
          h2o_model.train(x=x_names, y=y, training_frame=data)
          assert False, "Training should fail."
      except H2OResponseError as e:
          assert "ERRR on field: _col_sample_rate" in str(
              e
          ), "col_sample_rate and its alias colsample_bylevel are both set"
  
imports: from h2o.estimators.xgboost import *
  from tests import pyunit_utils
  from h2o.exceptions import H2OResponseError
label_desc: Use image node_id 2 for calling a global function with example usage: test_param_and_alias_are_not_same(data, x_names, y) without return types