Learning Time Delay Systems with Applications on Intelligent Vehicles