modified test_svm_training, added global vars
transered only a single stock data instead of the whole data matrix