code: def test_bin_classes(bin_dense_train_data):
      bin_dense, bin_target = bin_dense_train_data
      clf = CDClassifier()
      clf.fit(bin_dense, bin_target)
      assert list(clf.classes_) == [0, 1]
  
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 33 for calling a global function with example usage: test_bin_classes(bin_dense_train_data) without return types