training ghost ?

how do you get in a race with these?
if i want to learn a track . how can i race with a ghost thats a little faster than me?

In Rivals, just pick someone in Leaderboard view who is a few seconds faster, select ‘Training Ghost’, and go race. However, there seems to be little difference between a Rival and a Training Ghost, both stick around after you beat them.

Doesn’t have to be in Rivals I was in a Freeplay lobby yesterday and my own ghost was their, was sweet running Tandem with myself.