<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def curry_pair_dictionary(key_pair_dict, default_value=0.0):
 """ Transform dictionary from pairs of keys to dict -> dict -> float """

    result = defaultdict(dict)
    for (a, b), value in key_pair_dict.items():
        result[a][b] = value
    return result