#652: Reorganize 'if-elif' statements in 'svm_training.py'

Resolves #652.