def get_prediction_error_filename(
        df, degree, num_components, lo_num_times, init_method,
        lo_max_num_timepoints):
    """Get a default filename for the file with prediction errors.
    """

    return ('lo_prediction_error_df{df}_degree{degree}_' +
            '_num_components{num_components}_nt{lo_num_times}_' +
            'maxt{lo_max_num_timepoints}_init{init_method}.npz').format(
                df=df,
                degree=degree,
                num_components=num_components,
                lo_num_times=lo_num_times,
                init_method=init_method,
                lo_max_num_timepoints=lo_max_num_timepoints)