Notes

S.NoClassifierDescriptionCode Snippet
1Naive BayesNaive Bayes is a simple probabilistic classifier based on applying Bayes’ theorem with strong (naive) independence assumptions between the features. A Naive Bayes classifier assumes that the presence of a particular feature in a class is unrelated to the presence of any other feature.Click Here
2Decision TreeDecision trees are a non-parametric supervised learning method used for classification and regression. The goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features.Click Here
3Random ForestRandom Forest is a supervised learning algorithm. It can be used both for classification and regression problems. However, it is mostly used for classification problems in the industry. Random Forest algorithm creates decision trees on randomly selected data samples, gets prediction from each tree and selects the best solution by means of voting.Click Here
4Support Vector MachineSupport Vector Machine (SVM) is a supervised machine learning algorithm which can be used for both classification or regression challenges. However, it is mostly used in classification problems. In this algorithm, we plot each data item as a point in n-dimensional space (where n is number of features you have) with the value of each feature being the value of a particular coordinate.Click Here
5Kth Neighbour ClassifierKNN is a non-parametric method used for classification and regression. A sample is classified by a majority vote of its neighbors, with the sample being assigned to the class most common among its k nearest neighbors (k is a positive integer, typically small). If k = 1, then the object is simply assigned to the class of that single nearest neighbor.Click Here
6AdaboostAdaBoost is a machine learning meta-algorithm formulated by Yoav Freund and Robert Schapire. It is a boosting algorithm that can be used to convert a set of weak learners into a strong learner. The output of the weak learner acts as the input for the strong learner.Click Here
7Logistic RegressionLogistic regression is a statistical model that in its basic form uses a logistic function to model a binary dependent variable, although many more complex extensions exist. In regression analysis, logistic regression (or logit regression) is estimating the parameters of a logistic model (a form of binary regression).Click Here