Posts

Showing posts from August, 2020

Support Vector Machine

Image
As we know that any Machine Learning Algorithm or Method can be described using 5 main Questions. What type of Training Data is Used? What Mathematical Function is used? What is Loss Function? How is the Model trained? What Metrics is used for Model Evaluation? As discussed earlier, the classification task of Machine Learning can be done using various methods. We discussed the Logistic Regression in the previous post , in this post we will journey through one of the   State-of-the-Art   methods for the classification task,  Support Vector Machine . SVM's have proved to give some really useful and amazing results on the Unseen Data with high accuracy.  Support Vector Machine  Let's consider an example: We are given a classification task where our aim is to classify animals into Aquatic animals and Land animals . As Humans, we can complete the task either by #1 . Understanding the feature (like how they breathe, what is their food, what is their habitat, be...

Logistic Regression

Image
In the Linear Regression post we discussed about the 5 main questions of the Machine Learning Universe. Similarly in this post we will try to explain one of the Classification algorithm, Logistic Regression using these 5 questions- What Training Data is used? What Mathematical Function is used? Which Loss Function is used? How is the model trained? What Metric is used for evaluation? Classification From its name, it feels like this method has something to do with classification of some sort of data. Yes!! its True. Classification is a type of Supervised machine learning Algorithm and like any other supervised learning algorithms we have a data-set with some feature variables and a target variable. The only difference between this method and Linear Regression method is, its type of target variable. In Linear Regression we study CONTINUOUS target variable where as in Classifications we study DISCRETE target variables. These discrete values of the target variables denote the different ...