code: def test_create(self):
      with tempfile.TemporaryDirectory() as results_path:
          data = {
              "X": pd.DataFrame(
                  np.array(
                      [
                          [0, 0],
                          [0, 1],
                          [1, 0],
                          [0, 1],
                          [1, 0],
                          [0, 1],
                          [1, 0],
                          [1, 1],
                      ]
                  ),
                  columns=["a", "b"],
              ),
              "y": pd.DataFrame(
                  np.array([0, 0, 1, 0, 1, 0, 1, 1]), columns=["target"]
              ),
          }
  
          X_path = os.path.join(results_path, "X.data")
          y_path = os.path.join(results_path, "y.data")
  
          dump_data(X_path, data["X"])
          dump_data(y_path, data["y"])
  
          params = {
              "shuffle": False,
              "stratify": False,
              "train_ratio": 0.5,
              "results_path": results_path,
              "X_path": X_path,
              "y_path": y_path,
          }
          vl = SplitValidator(params)
  
          self.assertEqual(1, vl.get_n_splits())
          # for train, validation in vl.split():
          for k_fold in range(vl.get_n_splits()):
              train, validation = vl.get_split(k_fold)
  
              X_train, y_train = train.get("X"), train.get("y")
              X_validation, y_validation = validation.get(
                  "X"
              ), validation.get("y")
  
              self.assertEqual(X_train.shape[0], 4)
              self.assertEqual(y_train.shape[0], 4)
              self.assertEqual(X_validation.shape[0], 4)
              self.assertEqual(y_validation.shape[0], 4)
  
file_path: mljar-supervised/tests/tests_validation/test_validator_split.py
imports: import os
  import shutil
  import unittest
  import numpy
  import pandas
  from supervised.utils.utils import dump_data
  from supervised.validation.validator_split import SplitValidator
  import tempfile
label_desc: Use image node_id 1 for calling the SplitValidatorTest obj's underlying member method code with example usage: obj.test_create() without return types