saving error rate to saved model file