Probabilistic dynamic-controlled latent variable model for pattern-space modelling and pattern-based stochastic model predictive control