Returns data dictionary from training.pkl

def training_data(self):
        """ Returns data dictionary from training.pkl """

        data = pickle.load(open(os.path.join(self.repopath, 'training.pkl')))
        return data.keys(), data.values()