Classification
In my previous post I wrote about solving sentiment detection problem.
Sentiment detection is an example of broader class of AI problems called classification.
Classification can be seen as a function f: X -> {Y1, Y2, ..., Yn}
- to an element from set X
we assign
either Y1
or Y2
, and so on up to Yn
. For example for sentiment analysis X
was a set of all sentences, and for
a sentence from this set we assigned either POSITIVE
or NEGATIVE
or NEUTRAL
, or MIXED
.
Mathematically X
can be seen as a plane or hyperplane, and classification is cutting this plane into two or more pieces,
or putting objects into a bucket: