code: def discrete(request):
      """
      Creates a simple 2-column dataset with a discrete target.
      """
      X, y = make_classification(
          n_samples=120,
          n_features=2,
          n_informative=2,
          n_redundant=0,
          n_classes=3,
          n_clusters_per_class=1,
          random_state=2221,
      )
  
      request.cls.discrete = Dataset(X, y)
  
imports: import sys
  import pytest
  import numpy
  from functools import partial
  from unittest.mock import patch, MagicMock
  from sklearn.datasets import make_classification, make_regression
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from yellowbrick.exceptions import YellowbrickValueError
  from yellowbrick.features.jointplot import *
  from ..fixtures import Dataset
label_desc: Use image node_id 1 for calling a global function with example usage: discrete(request) without return types