Theoretical Underpinnings of Online Learning