def create_hlabels(hdict, args):
    """Returns a tuple of the names of hyperparameters being tuned and their scales
    (if they are being tuned)."""
    hlabels = list(hdict.keys())
    if args.tune_scales:
        hlabels += [hlabel + '_scale' for hlabel in hlabels]
    hlabels = tuple(hlabels)
    return hlabels