code: def check_allclose_fit_transform_on_same_data(X, x, Y=None, y=None):
      tols = [100, 10, 0.1, 1e-4, 1e-5]
      for name, tol in zip(["Features", "Target"], [tols, tols]):
          for value in tol:
              if name == "Features":
                  allclose_stats(X, x, value, name)
              if name == "Target" and Y is not None and y is not None:
                  allclose_stats(Y, y, value, name)
  
imports: import datetime
  import graphistry
  import logging
  import numpy
  import pandas
  from typing import Any
  import pytest
  import unittest
  import warnings
  from graphistry.feature_utils import process_dirty_dataframes, process_nodes_dataframes, resolve_feature_engine, lazy_import_has_min_dependancy, lazy_import_has_dependancy_text, FastEncoder
  from graphistry.features import topic_model, ngrams_model
  from graphistry.constants import SCALERS
label_desc: Use image node_id 2 for calling a global function with example usage: check_allclose_fit_transform_on_same_data(X, x, Y, y) without return types