persist training parameters