What is classification
Classification is defined as the process of recognition, understanding, and clustering of objects and ideas into preset categories
Examples:
-
classifying emails spam or not spam
-
classifying flowers of a particular species like the iris dataset
-
classifying a credit card transaction as fraudulent or not
-
face recognition
classification model:
naive Bayes: naïve Bayes is a classification algorithm that assumes that predictors in a dataset are independent. This means that it assumes the features are unrelated to each other. For example, if given a banana, the classifier will see that the fruit is yellow oblong-shaped, long, and tapered. all of these features contribute independently to the probability of it being a banana and are not dependent on each other. Naïve bayes based on bayes theorem:
P(A|B) = P(A)P(B|A)/P(B)
Decision tree: a decision tree is an algorithm that is used to represent decision-making. A decision tree Can be made by asking yes or no and splitting the answer to making another decision. The question and places the resulting decision below at the leaves