def compose_name(hidden_units, learning_rate, epsilon, lmbda, lr_decay, search_plies=1):
    """Return name for parameter save file based on the hyperparameters."""
    name = f'N{hidden_units:d}'
    name += f'-alpha{learning_rate:.3f}'
    name += f'-lambda{lmbda:.2f}'
    name += f'-epsilon{epsilon:.5f}'
    name += f'-dalpha{lr_decay:.6f}'
    if search_plies > 1:
        name += f'-plies{search_plies}'

    return name