Jump to content

Linear separability

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tentinator (talk | contribs) at 09:20, 15 April 2013 (clean up, typos fixed: , → , using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In geometry, two sets of points in a two-dimensional space are linearly separable if they can be completely separated by a single line. In general, two point sets are linearly separable in n-dimensional space if they can be separated by a hyperplane.

In more mathematical terms: Let and be two sets of points in an n-dimensional space. Then and are linearly separable if there exists n+1 real numbers , such that every point satisfies and every point satisfies , where is the -th component of .

Example

Three points in two classes ('+' and '-') are always linearly separable in two dimensions. This is illustrated by the following figure:

However, not all sets of four points are linearly separable in two dimensions. The following example would need two straight lines and thus is not linearly separable:

Linear separability of hypercubes in n dimensions

Number of linearly separable Boolean hypercubes in each dimension[1] (sequence A000609 in the OEIS)
Dimension Linearly separable Boolean hypercubes
2 14
3 104
4 1882
5 94572
6 15028134
7 8378070864
8 17561539552946
9 144130531453121108

Usage

Linear separability allows simple Classification in machine learning.

See also

References

  1. ^ Gruzling, Nicolle (2006). "Linear separability of the vertices of an n-dimensional hypercube. M.Sc Thesis". University of Northern British Columbia. {{cite journal}}: Cite journal requires |journal= (help)