#192: svm_training.py, replace php with python syntax

Resolves #192.