def make_experiment_name(experiment):
    """Create a readable name containing the name and value of the variables."""
    args = []
    for name, value in experiment.items():
        if isinstance(value, float):
            args.append("%s=%.4g" % (name, value))
        else:
            args.append("%s=%s" % (name, value))
    return ';'.join(args)