#192: svm_training.py, change 'key1' to 'error'