#711: svm_training.py, adjust redundant code
Merge pull request #712 from jeff1evesque/python_svm_training

#711: svm_training.py, adjust redundant code