“Prediction” from the first principles

As far as contribution of drives from the sub-cortical structures:

I have been addressing various aspects of the interplay between the subcortical structures and the cortex for a long time. This post collects pointers to some of the key ideas: