code: def test_get_outliers_inliers(self):
      X_train, y_train = generate_data(
          n_train=self.n_train,
          train_only=True,
          contamination=self.contamination,
      )
  
      X_outliers, X_inliers = get_outliers_inliers(X_train, y_train)
  
      inlier_index = int(self.n_train * (1 - self.contamination))
  
      assert_allclose(X_train[0:inlier_index, :], X_inliers)
      assert_allclose(X_train[inlier_index:, :], X_outliers)
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  import numpy
  from numpy.testing import assert_allclose
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from pyod.utils.data import generate_data_categorical
  from pyod.utils.data import generate_data
  from pyod.utils.data import evaluate_print
  from pyod.utils.data import get_outliers_inliers
  from pyod.utils.data import check_consistent_shape
  from pyod.utils.data import generate_data_clusters
label_desc: Use image node_id 15 for calling the TestData obj's underlying member method code with example usage: obj.test_get_outliers_inliers() without return types