#652: Reorganize 'svm_training.py' if-elif statement

Resolves #652.