def learn_harmonic(t, start=0.5, end=0.1, *args, **kwargs):
    """
    The weighted harmonic mean between `start` and `end` at time `t`.

    """
    inv_rate = (1.0 - t) / start + t / end
    return 1.0 / inv_rate
