Outline of Training routine
Inference psudo-code in comments