#630: svm_training.py, define 'if-else' for 'json_dataset'