bigexp_train function

Build a spec and prepare training data in one call