Online Learning Formula