def train():

The backbone of any decent prediction API.