def METHOD_NAME(self):
    rows = 10000
    X = np.random.rand(rows, 3)
    X = pd.DataFrame(X, columns=[f"f{i}" for i in range(3)])
    y = pd.Series(np.random.rand(rows), name="target")
    gft3 = GoldenFeaturesTransformer(self.automl_dir, REGRESSION)
    X_train, X_test, y_train, y_test = gft3._subsample(X, y)
    self.assertTrue(X_train.shape[0], 2500)
    self.assertTrue(X_test.shape[0], 2500)
    self.assertTrue(y_train.shape[0], 2500)
    self.assertTrue(y_test.shape[0], 2500)