Proposal: Pluggable ModelTrainer
train function
#3084
Merged
ModelTrainer
train function
#3084