def format_tune_scores(results):
    """
    Creates a tune_results dict from the output of get_tune_output_dol applied to the results output by fit_and_score.

    This creates the proper score names e.g. train_score, test_score, etc. It also formats the tune parameter list.

    Parameters
    ----------
    results: dict of lists
        The dict of list version of the results from fit_and_score()

    Output
    ------
    results; dict of lists
        The formated results.

    """
    new_results = {}

    if 'params' in results:
        new_results['params'] = results.pop('params')

    kinds = ['train', 'test', 'fit']
    for kind in kinds:
        for metric, value in results[kind].items():
            new_key = '{}_{}'.format(kind, metric)
            new_results[new_key] = value

    return new_results