Data Science

Covariance and Correlation

Covariance and Correlation

Covariance and Correlation- Covariance and correlation both measure linear relationship between two variables.  However, they differ at some points. In this post I will explain covariance and correlation and how they differ from each other. Covariance between two variables is written as Cov(X,Y) and is defined as Calculation of Covariance If you look at the […]

Covariance and Correlation Read More »

K-Nearest Neighbors

K-Nearest Neighbors Algorithm in Python

K-nearest neighbors algorithm is a machine learning algorithm which is used for classification and regression, and it can be applied where other machine learning algorithms are applied. See the typical problem setting , Suppose (x1, y1), (x2, y2), (x3, y3), ……………….(xn, yn) pairs in which x’s are attributes and y’s are labels, suppose another instance

K-Nearest Neighbors Algorithm in Python Read More »

©Postnetwork-All rights reserved.