train meta-model. needs debug.