Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Consider a set of 7D vectors. Each vector belongs to one of four classes.

After mapping to 3D with PCA and coloring each point according its class the dataset looks like as shown below:


For the animated GIF version, click here

What classification technique would be suitable for this dataset (e.g. decision trees, neural networks, etc) ?

share|improve this question
What space are you working in? $R^7$? Or a discrete space? Am a bit puzzled by your remark: "coloring each point according to its class". This suggests that you already have a classifier? – Assad Ebrahim Dec 26 '12 at 23:15

While PCA is useful to reduce dimensions, the choice of the number of dimensions should be viewed as a parameter depending on the effectiveness of your classifier on the data generated by your problem. (It could be three, two, four, ...)

But then you'll need a classifier, and you might get good mileage from one of the various mathematical segmentation / clustering algorithms. Two that are popular and fairly easy to implement are K-Means Clustering and Fuzzy C-Means Clustering. There are lots of existing implementations for these in Matlab, Octave, or R.

The following links should get you started:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.