code: def test_when_fit_and_predict_polynom_regressor_then_returns_accurate_results():
      X = np.random.normal(0, 1, (100, 2))
      Y = X[:, 0] * X[:, 1]
  
      mdl = create_polynom_regressor(degree=2)
      mdl.fit(X, Y)
  
      X_test = np.random.normal(0, 1, (100, 2))
      Y_test = X_test[:, 0] * X_test[:, 1]
  
      assert mdl.predict(X_test).reshape(-1) == approx(
          Y_test, abs=1e-10
      )
  
imports: import numpy
  from _pytest.python_api import approx
  from flaky import flaky
  from dowhy.gcm.ml.regression import create_polynom_regressor, create_random_forest_regressor
label_desc: Use image node_id 1 for calling a global function with example usage: test_when_fit_and_predict_polynom_regressor_then_returns_accurate_results() without return types