def filter_default(input_dict, params_default):
    """
    Filter input parameters with default params.

    :param input_dict: input parameters
    :type input_dict : dict
    :param params_default: default parameters
    :type params_default : dict
    :return: modified input_dict as dict
    """
    for i in params_default.keys():
        if i not in input_dict.keys():
            input_dict[i] = params_default[i]
    return input_dict