Classification Based Problems A self explanatory table from Wikipedia called Confusion Matrix is as shown below. Confusion Matrix Confusion Matrix…
Sklearn preprocessing libraries Numerical Data – Imputer Replace the missing data (NaNs) with 1. Zero or least impactful data 2.…
Let’s first consider a situation where you need to predict something based on the previous data. For example, the rent…
Covariance Mean of a random variable X Also called as expectation of X. Variance of the population: This can also…
Linear SVM The loss function for a logistic regression model is given by The output of the logistic…
Principal Component Analysis The first step is to do mean normalization and feature scaling. This is to make sure that…
Image Processing – JPEG A Digital Image Spatial Resolution/Sampling: Number of pixels in x and y axis. Quantization: Number of…