code: def getTrainingTestData():
      overallX = readCsvFile("data/snelson_train_inputs.dat")
      overallY = readCsvFile("data/snelson_train_outputs.dat")
  
      trainIndices = []
      testIndices = []
  
      nPoints = overallX.shape[0]
  
      for index in range(nPoints):
          if index % 4 == 0:
              trainIndices.append(index)
          else:
              testIndices.append(index)
  
      Xtrain = overallX[trainIndices, :]
      Xtest = overallX[testIndices, :]
      Ytrain = overallY[trainIndices, :]
      Ytest = overallY[testIndices, :]
  
      return Xtrain, Ytrain, Xtest, Ytest
  
file_path: GPflow/doc/sphinx/notebooks/theory/FITCvsVFE.py
imports: import numpy
  import tensorflow
  import gpflow
  from gpflow.ci_utils import reduce_in_tests
label_desc: Use image node_id 2 for calling a global function with example usage: getTrainingTestData() and returns: Xtrain,  Ytrain,  Xtest,  Ytest