Example #1
0
  /**
   * Get the training data.
   *
   * @return
   */
  public TrainRelation<E> getTrainingData() {
    TrainRelation<E> copy =
        new TrainRelation<E>(train.getName(), (Metadata) train.getMetadata().clone());
    copy.addAll(train);

    return copy;
  }