def METHOD_NAME(hyper_params: Dict[str, Any]) -> str:
    """Helper function that converts a dictionary of hyperparameters to a string that can be a filename.
    Parameters
    ----------
    hyper_params: Dict
        Maps string of hyperparameter name to int/float/string/list etc.
    Returns
    -------
    filename: str
        A filename of form "_key1_value1_value2_..._key2..."
    """
    filename = ""
    keys = sorted(hyper_params.keys())
    for key in keys:
        filename += "_%s" % str(key)
        value = hyper_params[key]
        if isinstance(value, int):
            filename += "_%s" % str(value)
        elif isinstance(value, float):
            filename += "_%f" % value
        else:
            filename += "%s" % str(value)
    return filename