code: def random_X(self, n_samples):
      time = gs.random.rand(n_samples)
      time = time - gs.mean(time)
      return time
  
file_path: geomstats/geomstats/test_cases/learning/geodesic_regression.py
imports: import pytest
  import geomstats.backend
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test_cases.learning._base import BaseEstimatorTestCase
label_desc: Use image node_id 2 for calling the GeodesicRegressionRandomDataGenerator obj's underlying member method code with example usage: obj.random_X(n_samples) and returns: time