You can train the AI by running a single player session
(See attached graphic for settings)
Turn off Damage, Tire Wear and Fuel Usage.
Make weather Scripted.
Turn off all Session Settings
Set AI Drivers to 1
Damage - 0
Ai Strength - 120%
Ai Aggression - 100%
Start the session. The driver should leave the pits saying,"Stay out of my way, human". (chat window)
Stay off the track, watch the AI do some laps or do something else.
The driver will say when he's learned the track(chat window).
Important: Click "Finish Session". Once finished, leave the track to save the training.
After training, reset all settings back to normal, add some cars and give it a go.