code: def test_invertible():
      y = [1, 2, 3]
      trans = LogEndogTransformer()
      y_t, _ = trans.fit_transform(y)
      y_prime, _ = trans.inverse_transform(y_t)
      assert_array_almost_equal(y, y_prime)
  
imports: from numpy.testing import assert_array_almost_equal
  from sklearn.base import clone
  from pmdarima.preprocessing import LogEndogTransformer
  from pmdarima.preprocessing import BoxCoxEndogTransformer
label_desc: Use image node_id 2 for calling a global function with example usage: test_invertible() without return types