#711: svm_training.py, adjust redundant code

Resolves #711.