I am trying to figure whether the code I use calculates precision or accuracy or both. Since I only have a little background in statistics (in another language) I don't really understand the Wikipedia article covering that topic. Concretely I use following Python code: from sklearn import svm, cross_validation clf = svm.SVC(kernel=kernel, C=C) scores = cross_validation.cross_val_score(clf, FeatureMatrix, np.squeeze(LabelMatrix), cv=d_inds) Documentation for the scikit-learn functions can be found here: sklearn.svm.SVC sklearn.cross_validation.cross_val_score Continue reading...