Particularly, the calculation in SVM need be projected to a higher dimensional space by using a certain kernel function (,) ij K ww .
we adapt the cosine-similarity measure to SVM as follows: and may be regarded as a general vector-based similarity measure.