Reviews computational neuroimaging strategies for single patient predictions. Generative models for inferring individual disease mechanisms in psychiatry and neurology. Mapping inferred mechanisms to clinical predictions by Bayesian model selection and generative embedding. Links a mechanistic model-based approach to statistical perspectives by machine learning.