code: def test_l1(fit_intercept, datatype, delayed, n_classes, C, client):
      lr = test_lbfgs(
          nrows=1e5,
          ncols=20,
          n_parts=2,
          fit_intercept=fit_intercept,
          datatype=datatype,
          delayed=delayed,
          client=client,
          penalty="l1",
          n_classes=n_classes,
          C=C,
      )
  
      l1_strength, l2_strength = lr._get_qn_params()
      assert l1_strength == 1.0 / lr.C
      assert l2_strength == 0.0
  
imports: from cuml.internals.safe_imports import gpu_only_import
  import pytest
  from cuml.dask.common import utils
  from functools import partial
  from sklearn.metrics import accuracy_score, mean_squared_error
  from sklearn.datasets import make_classification
  from sklearn.linear_model import LogisticRegression
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.testing.utils import array_equal
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 12 for calling a global function with example usage: test_l1(fit_intercept, datatype, delayed, n_classes, C, client) without return types