<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def params_to_dict(params, dct):
 """ Updates the 'dct' dictionary with the 'params' dictionary, filtering out all those whose param value is None. """

    for param, val in params.items():
        if val is None:
            continue
        dct[param] = val
    return dct