Top Articles

## Top 100 Machine Learning Interview Questions and Answers

In this post, we will discuss Top 100 Machine Learning Interview Questions and Answers.

## Decision Tree vs Linear Regression

Decision Tree can be used for implementing regression as well as classification models, however , Linear Regression can be used for regression problem only. Decision tree can be used for regression, even when there is non linear relationships between the features and the output variable. However, Linear Regression works really nicely when there is linear relationship…

## How to Disable Warnings in Python and Pandas

What is warning in Python? A Python warning is a message that informs the developer of potentially hazardous or faulty code. It’s a way for the interpreter to warn that a problem could arise in the future while still allowing the code to run.Python’s warnings module is responsible for issuing warnings, which can be created…

## What is R Squared for Linear Regression

For Linear Regression, R-squared is a statistical term which indicates how close the data are to the fitted regression line. R-Squared is also known as coefficient of determination. R-squared = Explained variation in data / Total variation in data R-squared = 1 – (RSS/TSS) RSS = Sum of squares of difference between predicted value and…

## Using torchvision transforms for data augmentation

Transforms are common image transformations. torchvision transforms are used to augment the data with scaling, rotations, mirroring, cropping etc. Transforms are common image transformations.  Let us create some possible transforms like RandomRotation , Resize, RandomResizedCrop etc. Below is the code to use transforms for the training, validation, and testing sets transforms.Compose([transforms.Resize(224),transforms.CenterCrop(64),transforms.ToTensor()]) Most neural networks expect the…

## Cast a Tensor to another Type in TensorFlow

We can cast a Tensor to another type in tensorflow as below: Code as below: Neural Network Machine Learning Algorithm From Scratch in Python is a short video course to discuss an overview of the Neural Network Deep Learning Algorithm. In this video different concepts related to Neural Network Algorithm such as Dot Product of…

## Scatter Plot using Lmplot Function of Seaborn

Apart from the methods scatterplot and regplot, seaborn also provides lmplot as another function to draw a scatterplot. However when we create scatter plots using seaborn’s lmplot, it will introduce a regression line in the plot. Let us first import libraries and load the data required to create the plot. Then lets use the below…

## 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…

## Logistic Regression Machine Learning Algorithm from Scratch in Python

Logistic Regression Machine Learning Algorithm From Scratch in Python is a short video course to discuss an overview of the Logistic Regression Machine Learning Algorithm. In this video different types of concepts related to Logistic Regression Algorithms such as Sigmoid and Optimization are discussed. Finally, the algorithm is implemented, step by step, in Python Programming…

## Cast a Tensor to another Type in PyTorch

We can cast a Tensor to another type in PyTorch as below: Neural Network Machine Learning Algorithm From Scratch in Python is a short video course to discuss an overview of the Neural Network Deep Learning Algorithm. In this video different concepts related to Neural Network Algorithm such as Dot Product of Matrix, Sigmoid, Sigmoid…