Learning "Look-Ahead" Nonlocal Traffic Dynamics in a Ring Road