def create(model_config, model, source, storage, phases, callbacks=None, restart=True):
return PhaseTrainCommand(<EOL>model_config=model_config,<EOL>model_factory=model,<EOL>source=source,<EOL>storage=storage,<EOL>phases=phases,<EOL>callbacks=callbacks,<EOL>restart=restart<EOL>)<EOL>
Vel factory function