#362: svm_training.py, repair 'if-elif' statement

Resolves #362.