code: def test_l1r_shrinking(bin_dense_train_data, shrinking):
      bin_dense, bin_target = bin_dense_train_data
      clf = CDClassifier(
          C=0.5, penalty="l1", random_state=0, shrinking=shrinking
      )
      clf.fit(bin_dense, bin_target)
      assert clf.score(bin_dense, bin_target) == 1.0
  
imports: import numpy
  import pytest
  from sklearn.datasets import load_digits
  from sklearn.preprocessing import LabelBinarizer
  from lightning.impl.primal_cd import CDClassifier, CDRegressor
  from lightning.impl.tests.utils import check_predict_proba
label_desc: Use image node_id 5 for calling a global function with example usage: test_l1r_shrinking(bin_dense_train_data, shrinking) without return types