update svm get_feature_dict method