parameters: (self, name, task, metric, X=None, y=None, get_func=None)
docstring: Please notice that the training set and test set are the same here.
docstring_summary: Please notice that the training set and test set are the same here.
docstring_tokens: Please notice that the training set and test set are the same here .
function: def __init__(self, name, task, metric, X=None, y=None, get_func=None):
          """
          Please notice that the training set and test set are the same here.
          """
          group = None
          self.name = name
          self.task = task
          self.metric = metric
          if task == 'Ranking':
              if get_func is not None:
                  X, y, group = get_func()
          else:
              if get_func is not None:
                  X, y = get_func()
          self.X_train = X
          self.X_test = X
          self.y_train = y
          self.y_test = y
          self.groups = group
function_tokens: def __init__ ( self , name , task , metric , X = None , y = None , get_func = None ) : group = None self . name = name self . task = task self . metric = metric if task == 'Ranking' : if get_func is not None : X , y , group = get_func ( ) else : if get_func is not None : X , y = get_func ( ) self . X_train = X self . X_test = X self . y_train = y self . y_test = y self . groups = group