code: def test_elastic_net_default(
      dtype, nrows, column_info, n_parts, client
  ):
      ncols, n_info = column_info
  
      X, y = make_regression(
          n_samples=nrows,
          n_features=ncols,
          n_informative=n_info,
          n_parts=n_parts,
          client=client,
          dtype=dtype,
      )
  
      elasticnet = ElasticNet(client=client)
  
      elasticnet.fit(X, y)
  
      y_hat = elasticnet.predict(X)
  
      assert r2_score(y.compute(), y_hat.compute()) >= 0.96
  
file_path: cuml/python/cuml/tests/dask/test_dask_coordinate_descent.py
imports: import pytest
  from cuml.dask.datasets import make_regression
  from cuml.dask.linear_model import ElasticNet
  from cuml.dask.linear_model import Lasso
  from cuml.metrics import r2_score
  from cuml.testing.utils import unit_param, quality_param, stress_param
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 4 for calling a global function with example usage: test_elastic_net_default(dtype, nrows, column_info, n_parts, client) without return types