-2

I have a feature vector in matrix notation, and I have data points in 2D plane. How to find whether my data points are linearly separable with that feature vector?

One can check whether there exists a line divides the data points into two. If there isn't a line, how to check for linear separability in higher dimensions?

Michael Dorner
  • 17,587
  • 13
  • 87
  • 117

1 Answers1

0

A theoretical answer

If we assume the samples of the two classes are distributed according to a Gaussian, we will get a quadratic function describing the decision boundary in the general case.

If the covariance matrices are identical we get a linear decision boundary.

A practical answer

See the SO discussion here.

Community
  • 1
  • 1
Michael Dorner
  • 17,587
  • 13
  • 87
  • 117