def build_trainset_surprise(dataset):
    """
    Build a training set from a Surprise Dataset so that 
    it can be used for model training.
    """
    trainset = dataset.build_full_trainset()
    return trainset