Visualize and Print Confusion Matrix

In many cases you would like to print the confusion matrix in a better format and look and feel than what is provided by scikit learn by default. The default look when printing confusion matrix using scikit learn scikit-learn default confusion matrix print However in many cases you may like to print the confusion matrix … Continue reading Visualize and Print Confusion Matrix

Advertisements

Difference between Logistic Regression and Support Vector Machine SVM

Both Logistic Regression and Support Vector Machine or SVM can be used for classification however there is some fundamental difference between them. Lets understand those differences when we are using Support Vector Machine as a classifier. Logistic Regression gives probabilities as output that can be interpreted as confidence in the classification decision however Support Vector … Continue reading Difference between Logistic Regression and Support Vector Machine SVM

Top 5 Hyper-Parameters for Logistic Regression

Hyper-parameter is a type of parameter for a machine learning model whose value is set before the model training process starts. Most of the algorithm including Logistic Regression deals with useful hyper parameters. In this post we are going to discuss about the sklearn implementation of hyper-parameters for Logistic Regression. Below is the list of … Continue reading Top 5 Hyper-Parameters for Logistic Regression

Implementing Logistic Regression in 10 lines in Python

Logistic Regression is one of the most popular Machine Learning algorithm used for the classification problems. It should be noted that though there is a regression word in the name of the algorithm Logistic Regression, it is used for classification problems. A use case of Logistic regression could be, based on the symptoms for a disease that a patient has Logistic … Continue reading Implementing Logistic Regression in 10 lines in Python

Top 5 Advantages and Disadvantages of Support Vector Machine Algorithm

Support vector machines or SVM is a supervised machine learning algorithm that can be used for both classification and regression analysis. Advantages of Support Vector algorithm Support vector machine is very effective even with high dimensional data.When you have a data set where number of features is more than the number of rows of data, … Continue reading Top 5 Advantages and Disadvantages of Support Vector Machine Algorithm