This is an implementation of a conditional mixture of linear regressors (mixture of linear regression experts) in Torch7/Lua.
The code implements the EM algorithm for MoE. Two synthetic test data sets are available for testing.
To run: torch mixtureGLM.lua
Shakir, April 2013