from __future__ import absolute_import
from __future__ import division
from __future__ import print_function


def get_dataset(if_train = True):
    """
    create a train set or valid set

    :param if_train: train set or valid set
    :return: train set if if_train = True, otherwise valid set
    """