Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 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

I have a set of training data and I need to build a classifier with it. There are just two classes of elements, and the values of the attributes are all integer, like:

$$ \ [V_{11}, V_{12}, \ldots, V_{1N}] \in C_1 \\ \ [V_{21}, V_{22}, \ldots, V_{2N}] \in C_2 \\ \vdots \\ \ [V_{M1}, V_{M2}, \ldots, V_{MN}] \in C_M \\ \\ \ C_i \in [Class\_1, Class\_2] $$

What kind of classifier should I use? I've been reading about Bayes classifiers but I'm not really sure if it would fit in here.

share|cite|improve this question
I don't get why the LaTeX code does not get rendered, but anyway... – José Tomás Tocino May 4 '12 at 0:11
Try replacing "\\" with "\\\". Char escaping problems maybe. – Matt May 4 '12 at 0:40
up vote 0 down vote accepted

At the end I used a Perceptron. The problem was actually pretty basic and the perceptron led to a stable state in just two training iterations.

share|cite|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.