def update_params(params, categoricals, constants):
    """
    Update params with categoricals and constants for the fitting proces.

    params: params proposed by the tuner

    Examples of the format for SVM sigmoid hyperpartition:

    categoricals = (('kernel', 'poly'),
                    ('probability', True),
                    ('_scale', True))

    constants = [('cache_size', 15000)]
    """
    for key, value in categoricals + constants:
        params[key] = value

    return params