code: def test_sdca_squared_l1_only(bin_train_data):
      X_bin, y_bin = bin_train_data
      clf = SDCAClassifier(
          alpha=0.5,
          l1_ratio=1.0,
          loss="squared",
          tol=1e-2,
          max_iter=100,
          random_state=0,
      )
      clf.fit(X_bin, y_bin)
      assert clf.score(X_bin, y_bin) == 1.0
  
file_path: lightning/lightning/impl/tests/test_sdca.py
imports: import numpy
  import pytest
  from lightning.classification import SDCAClassifier
  from lightning.regression import SDCARegressor
label_desc: Use image node_id 10 for calling a global function with example usage: test_sdca_squared_l1_only(bin_train_data) without return types