General Equation Generally the equation for a linear model will have two inputs(but can have any number of inputs) and  be written as: x1*w1 + x2*w2 +b The goal of the ANN is to find the minimal errored equation which, when given a new input can predict accurate outputs comparedContinue Reading

The basic steps to detect a line in a frame are: 1. Turning the frame to grayscale via color maping conversion. 2. Bluring(A.K.A Smoothing) the frame via a Median Kernel. 3. Detecting edges on the frame via derivatives and comparing the result(gradient) which are highest above a threshold or thatContinue Reading

Principal Component Analysis – PCA is the process of projecting variance of data using minimal dimensions. The direction of dimension along which the variance is maximised(highest) will be chosen as the first principal component. The next best direction as the second P.C. and should be orthogonal to the first P.C,Continue Reading

k-means clustering is a method of vector quantization which finds good inter similarity between cluster members and intra-similarity between other clusters. k-means clustering partitions n observations into k clusters in which each observation belongs to the cluster with the nearest mean, These means are chosen so that in the nextContinue Reading

The cross-entropy measure is the sum of all the natural logs of each data point’s probability in accordance to the given or calculated labels divided by the number of points times (-1){so it can be positive number}. It’s simple formula given N points: (When y(n) is  1 the first term ofContinue Reading

The softmax function A.K.A normalized exponential function, squashes a K-dimensional input vector into a K-dimensional output vector of real values where each entry is in the range (0, 1). It’s like a sigmoid function, but it also divides each output such that the total sum of the outputs add upContinue Reading

The ROC curve(relative operating characteristic curve), is a comparison of two operating characteristics (TPR and FPR) as the criterion changes (sensitivity as a function of fall-out). The TPR(true positive rate) is also known as sensitivity, recall or probability of detection, it can be calculated as 1-miss rate(FNR). The FPR(false positiveContinue Reading

In image processing, a kernel, convolution matrix, or mask is a small matrix (usually 3X3 but can be any matrix size). It is used for blurring, sharpening, embossing, edge detection, and more. This is accomplished by doing a convolution between a kernel and an image. Convolution is termed as theContinue Reading