Jump to content

String kernel

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ɯ (talk | contribs) at 10:32, 6 June 2010. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


String kernel is a mathematical tool used in large scale data analysis and mining, where sequence data are to be clustered or classified (concerning especially the popular research fields of text and gene analysis).

Motivation

Since several well-proven data clustering, classification and information retrieval methods (for example support vector machines) are designed to work on vectors (i.e. data are elements of a vector space), using a string kernel allows to extend these methods to handle sequence data.

The string kernel method is to be contrasted with earlier approaches for text classification where feature vectors only indicated the presence or absence of a word. It is an example for a whole class of kernels adapted to data structures.

Definition

A kernel on a domain is a function satisfying some conditions (being symmetric in the arguments, continuous and positive semidefinite in a certain sense).

Mercer's theorem asserts that can then be expressed as with mapping the arguments into an inner product space.

We can now reproduce the definition of a string subsequence kernel on strings over an alphabet . Coordinate-wise, the mapping is defined as follows:


The are multiindices: subsequences can occur in a non-contiguous manner, but gaps are penalized. The parameter may be set to any value between (gaps are not allowed) and (even widely-spread "occurrences" are weighted the same as appearances as a contiguous substring).


For several relevant algorithms, data enters into the algorithm only in expressions involving an inner product of feature vectors, whence the name Kernel methods. A desirable consequence of this is that one does not need to explicitly calculate the transformation , only the inner product via the kernel, which may be a lot quicker, especially when approximated[1] .


References

  1. ^ Lodhi, Huma; Saunders, Craig; Shawe-Taylor, John; Cristianini, Nello; Watkins, Chris (2002), "Text classification using string kernels", The Journal of Machine Learning Research, MIT Press: 444