code: def test_classification_result(self):
      for L in range(1, 10):
          X = generate_random_classification_sframe(
              100,
              "n" * L,
              misclassification_spread=0,
              num_classes=2,
              num_extra_class_bins=0,
          )
          X["target_2"] = X.apply(
              lambda d: sum(v for k, v in d.items() if k != "target")
          )
          X["target_2"] = X["target_2"] - X["target_2"].min()
          X["target_2"] = X["target_2"] / X["target_2"].max()
  
          x_1 = X["target_2"][X["target"] == 0]
          x_2 = X["target_2"][X["target"] == 1]
  
          self.assertTrue(
              (x_1.max() - 1e-4 <= x_2.min() + 1e-4)
              or (x_2.max() - 1e-4 <= x_1.min() + 1e-4)
          )
  
file_path: turicreate/src/python/turicreate/test/test_sframe_generation.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..util import generate_random_sframe
  from ..util import generate_random_regression_sframe
  from ..util import generate_random_classification_sframe
  import unittest
  import array
  import pytest
label_desc: Use image node_id 3 for calling the SFrameGeneration obj's underlying member method code with example usage: obj.test_classification_result() without return types