If clustering relates to learning without a teacher, then classification, on the contrary, is knowing to what groups a part of the known data belongs, and we want to determine the probability with which the unknown new element might belong to one group or another.
For example, using the
Classify function, let's try to explain which are even numbers and which are odd numbers:
We have set several even and several odd numbers, then we have classified them with default parameters using the
Classify function, and finally we can see how the missing elements, 5, 0 and 10, will be classified. As you can see from the result, they were successfully ...