code: def test_fit_linear_binary(data, loss, request):
      X, y = request.getfixturevalue(data)
      clf = LinearSVC(loss=loss, random_state=0, max_iter=10)
      clf.fit(X, y)
      assert list(clf.classes_) == [0, 1]
      assert clf.score(X, y) == 1.0
      y_pred = clf.decision_function(X).ravel()
  
file_path: lightning/lightning/impl/tests/test_dual_cd.py
imports: import numpy
  import pytest
  from sklearn.metrics.pairwise import linear_kernel
  from sklearn.datasets import make_regression
  from lightning.impl.dual_cd import LinearSVC
  from lightning.impl.dual_cd import LinearSVR
  from lightning.impl.dual_cd_fast import sparse_dot
  from lightning.impl.dataset_fast import get_dataset
label_desc: Use image node_id 3 for calling a global function with example usage: test_fit_linear_binary(data, loss, request) without return types