#270: svm_training.py, properly validate 'file upload', 'training' properties