def parse_params(params, kwargs):
    """(internal) Tries to guess the data type (int>float>string) of values in 
    a parameter dict.
    """
    if params:
        for param in params.split(','):
            k, v = param.split(':')
            try:
                v = int(v)
            except ValueError:
                try:
                    v = float(v)
                except ValueError:
                    pass
            kwargs[k] = v
    return kwargs
